On 5 Mar 2009, at 09:59, jazzez ravi wrote:
How many web application frameworks(like rails)available in ruby ? .
I heard about rails,merb,ramaze,sinatra,mack etc… But i can’t able to
say which one is best. So please anyone suggest a rank for these
frameworks. It is easy to identify which one is best ?
The simple answers are: lots, and no it isn’t easy to identify the
best. However as Merb and Rails will be spending much of this year
merging they might be your best options in a future-proofing sense.
As for current frameworks in general, just off the top of my head I’m
also aware of Brix, IOWA, Waves and Camping. I suspect there are many
others though as writing web frameworks in Ruby is a popular pastime.
They all have their plusses and minuses and without knowing what
you’re looking to use them for it’s hard to say whether any of them
would be a particular problem.
The one thing you should look out for is Rack compatibility, although
I think that’s becoming universal so may not be a good distinguisher.
Rack is a generic web server interface which allows you to plug a
framework which supports it into all the coolest Ruby web servers like
Thin. It also allows you to write low-level handlers for things that
shouldn’t be going through your web stack such as authentication and
media file transfers.
For originality I suggest Brix as that’s designed from the ground up
with Thick Client AJAX applications in mind. However for elegance of
implementation and simplicity of use it’s hard to beat Camping.
raise ArgumentError unless @reality.responds_to? :reason