Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between Ruby on Rails and Grails?

Someone asked me to learn Grails and then they said Ruby on Rails. They almost used it interchangeably.

What is the difference between the two?

like image 291
Alex Gordon Avatar asked Mar 04 '10 03:03

Alex Gordon


People also ask

Is there a difference between Ruby and Ruby on Rails?

Ruby is an open source, object oriented general-purpose programming language, whereas Ruby on Rails is an open source web development framework. As a programming language, Ruby has its own 'syntax' or language, as well as unique rules for its use and application.

Is Ruby on Rails losing popularity?

Ruby on Rails Popularity in 2022RoR has been declining in popularity for a few years now. One reason for this decline is that Rails is no longer the only game in town regarding web development frameworks. There are now many other options available, including Node. js, Laravel, and Django.

Is Ruby on Rails better?

Ruby on Rails is the best open-source software to build web applications because Rails is the most manageable framework, and Ruby is a concise language. Additionally, you know that it is designed on the MVC architecture and possesses numerous benefits.

Is Ruby on Rails still relevant 2020?

RoR developers are sure - Rails are still relevant in 2020.


1 Answers

I have worked on both Groovy on Grails and Ruby on Rails.

  1. Both are agile platforms and follow the DRY or 'don't repeat yourself' principle and conventions over configuration.
  2. Both Grails is a framework of frameworks. You can write Java or Ruby syntax code in place of Groovy syntax code it will work perfectly.
  3. In Groovy we can use Java Spring and Hibernate frameworks too.
  4. Both support scaffolding.
  5. Rails has gems and plugins but in Grails, till now, I have used only plugins.
  6. Rails framework is built in Ruby language and Grails framework is built in Groovy language.

Both are wonderful frameworks.

You can find documentaion here:

  • Grails
  • Rails
like image 51
vidur punj Avatar answered Oct 09 '22 06:10

vidur punj