Skip to content

Instantly share code, notes, and snippets.

@bitfidget
Created May 9, 2014 06:33
Show Gist options
  • Save bitfidget/79bb0f7c2e3dddb53358 to your computer and use it in GitHub Desktop.
Save bitfidget/79bb0f7c2e3dddb53358 to your computer and use it in GitHub Desktop.
Why would you use Rails rather than another framework?
Ruby is a powerful yet simple programming language, but to build an app using Ruby on it's own would still be extremely time-consuming and difficult. Using a framework makes it possible to create an application or website in a very short time as most of the common tasks are already taken care of.
There are a number of Ruby frameworks to choose from, such as Sinatra (more a library than an actual framework but so what?) or Padrino but Rails provides a robust full-stack framework that makes it quick and easy to build scalable apps, and is particularly helpful if you are developing with a large team of people.
Some of the main advantages of Rails:
- Rails uses an MVC pattern
- Rails encourages use of RESTful routes
- Rails includes many methods for quick 'scaffolding' which means many of the repetitive tasks normally involved in building an application can be completed with one or two lines from the developer
- Rails even assumes you will need a database and creates one for you when you start your project (this is not so easy in many other frameworks)
-= the end =-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment