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.
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 ?
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 ?
Depends what you're trying to do.
Rails scores highly because of the availability of excellent books.
There's tons of functionality, as long as you can remember where to find
it! My Rails book has lots of scribbled notes in the back page
Right now I'm using Sinatra, which is the opposite end of the spectrum:
very, very simple. I highly recommend it.
Also consider if and how you wish to integrate Javascript into your app.
If you want Ruby helpers to spit out Javascript and embed it into your
HTML for you, then Rails does this very well (and jrails gives you the
power of jquery too).
But the alternative approach is UJS (Unobtrusive JavaScript) - keep your
HTML pure, and write your own Javascript in a separate file, using a
library like jquery. I am now finding this approach much cleaner and
more powerful.
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 ?
In addition to the other answers, what will you do with the 'best' if you find it?
What if you started with a framework that was _not_ the 'best'? What would the problem be?
In addition to the other answers, what will you do with the 'best' if
you find it?
What if you started with a framework that was _not_ the 'best'? What
would the
problem be?
Hi Philip,
Now I want to build one application. I learned ruby. Many of them
suggests Rails is a best framework in ruby. But in my project, lot of
functionality available,
Example,
1. Contact Import from gmail,Yahoo,Hotmail
2. Chat
3. SMS - BDay reminder
4. Fully Ajax Based
But i am not satisfied with those projects except Twitter,Git hub,Group
hub.
Also I am not sure twitter written code for Import contacts
functionality in ruby on rails and no other chat related application in
that(http://rubyonrails.org/applications\) list. That's why, I came here
with my ABOVE question.
I just wrote about the convergence I'm seeing in the ruby web framework
community, including rails, merb and sinatra driven to some extent by the
common adoption of rack.
At the end of last year I added Rack support to the Brix framework, but the project's currently on hold so I'm not sure when it will see the light of day. It was a surprisingly pleasant experience and I'm considering going back to some of the code I was working on 2006 and porting that over to Rack just for the sake of it
I just wrote about the convergence I'm seeing in the ruby web framework
community, including rails, merb and sinatra driven to some extent by the
common adoption of rack.