Python on Rails?

前端 未结 4 461
情话喂你
情话喂你 2021-02-02 11:33

Would it be possible to translate the Ruby on Rails code base to Python?

I think many people like Python more than Ruby, but find Ruby on Rails features better (as a who

相关标签:
4条回答
  • 2021-02-02 12:12

    I know that Rails does not necessarily = MVC per se, but I think a lot of what makes Rails productive is that it enforces (well, strongly encourages) MVC development, so you might find something similar if you look for Python MVC, such as this previous post here on Stack: What's a good lightweight Python MVC framework?

    There are lots of Python MVC frameworks out there, but I keep hearing a lot about Django (http://www.djangoproject.com/) so that should definitely be on your list of things to check out IMO.

    0 讨论(0)
  • 2021-02-02 12:13

    Many of the methodology used in Rails has been translated into Django. Have you tried it?

    http://www.djangoproject.com/

    0 讨论(0)
  • 2021-02-02 12:29

    This is a great blog post. Rails developers chose a framework, and coding in Ruby is the afterthought.

    Python developers chose the language for the language, not the framework. On the other hand, that made a lot lower bar to entry for frameworks.

    0 讨论(0)
  • 2021-02-02 12:29

    I think one of the things that people like about RoR is the domain-specific language (DSL) style of programming. This is something that Ruby is much better at than Python.

    0 讨论(0)
提交回复
热议问题