Thursday, August 23, 2012

Grails vs. Ruby on Rails

Are you at the point when you need to decide what will be your next Rapid Application Development framework for your new website? You heard a lot about Ruby on Rails, right? It's soooo cool and sexy and stuff!

But wait, look at that Grails, Ruby on Rails:


Hugely popular in the past ROR (Ruby on Rails) is giving in to Grails. I think the reasons are the following:


  1. Performance, performance, performance. Twitter is dumping ROR because of performance. Grails, on the other hand, is compiled into Java and runs in a JVM.
  2. More and more Java developers discover Grails.
  3. I can't think of anything else right now :)

9 comments:

Anonymous said...

Easy of use. I read a couple of chapters of a RoR book that said forget this, I'll stick with Grails. RoR looks a bit cryptic.


Groovy has gStrings, which make it easier to do common string functions. Groovy is just a nicer tool all around than Ruby. Many Java devs use Groovy even without Grails.

Anonymous said...

I think if you look at
http://www.google.com/trends/?q=grails,rails&ctab=0&geo=all&date=all&sort=1

you will see something completely different.

supported by
http://www.google.com/trends/?q=groovy,ruby&ctab=0&geo=all&date=all&sort=1

although you could argue that both rails and ruby are not names exclusive to a web framework and a languages.

That said I'm looking at both Play! and grails as well. One thing I found is that once you have learned the basics of RoR both Play! and Scala make much more sense.

I have used http://ruby.railstutorial.org/

to learn a bit of rails some moths a go, while I didn't use RoR for any thing but some test projects the knowledge learned prrofed to be very useful in learning scala and play

Mikhail Gavryuchkov said...

You cannon use term "rails" to compare to "grails". It's a too broad term that means much more than "ruby on rails".

Kyle Hayes said...

Likewise, you cannot use google trends to make a point. Even in your first example, one cannot say that RoR is giving way to grails—how do you know it is not Python taking over?

Mikhail Gavryuchkov said...

Yes, Python, and particularly Django is taking over too. I respect very much Python and Django as much as I respect RoR. But one way or another - RoR is on decline.

Anonymous said...

ROR is quite sexy when you code yourself; however, businesses running on ROR will get into stall due to ROR HR quality and cost. Grails is much more cost efficient from HR point of view.

Anonymous said...

I actually think that your point of view is distorted since you are a java developer and so for you Groovy/Grails is much more simple to use and learn. I'm very good in PHP on average in Python\Django and I really dislike Grails. Too much verbose and error prone.

Cheers

Sergey Ponomarev said...

It's better to see usage statistic here
http://www.indeed.com/jobtrends?q=Grails%2C+ruby+on+rails%2C+ror&l=

Sergey Ponomarev said...

Here is more correct statistic
http://www.indeed.com/jobtrends?q=Grails%2C+ruby+on+rails%2C+ror&l=