Framework Similar to Pylons for Ruby
I've been using Python for most of my web projects lately, and have come to really love the Pylons MVC framework. I like the incredible transparency (lack of magic), the built-in components they selected (sqlalchemy, formencode, routes), and the ability to easily change things up (use a different ORM or templating engine).
Moving forward, due to constraints at my company, I'm going to be trying out Ruby rather than Python. I'm wondering if people with experience in both have any recommendations for a Ruby framework that is comparable to Py开发者_StackOverflow社区lons.
Python is to Django as Ruby is to Rails
Python is to Pylons as Ruby is to ?
I have no experience with pylons so its tough for me to compare, but if you are looking for a lightweight alternative to Rails, definitely check out Sinatra. However, keep in mind its not an MVC framework.
Ramaze is another alternative which is ORM and templating engine agnostic.
Python is to Django as Ruby is to Rails
Python is to Pylons as Ruby is to Merb, is my best guess.
But since Merb and Rails are converging in the almost-released Rails 3.0 (at Beta 3 right now) - the lead developer for Merb now performs the same role in the united product, I'd suggest that
Python is to Pylons as Ruby is to Rails 3.0
YMMV, of course.
Honestly I am not sure how it compares to Pylons, but if you appreciate simplicity and transparency, you will definitely like Sinatra. And if you decide to give it a try, I would also recommend you Monk if you're already used to an MVC framework.
精彩评论