Difference between Ruby and Ruby on Rails

Key Difference: Ruby is a powerful programming language, whereas Ruby on Rails is a web framework based on Ruby programming language. This framework is used for developing data based websites.

Ruby is a scripting language developed by Yukihiro Matsumoto in the mid-1990s. This language can run on a variety of operating system platforms like Window, versions of UNIX and Mac OS.

It is a high level programming language which is interpreted like Perl, Python, etc. Like Java, it is also an object oriented programming language. It has various benefits like it is an open source language which is also a truly object oriented language. Its helpful community provides solutions to many problems if encountered. It is easy to learn and extend.

Ruby on Rails is an open source web framework which is written in Ruby. It was developed by Heinemeier Hansson in 2003. A web based project management application called Basecamp tends to be the base of Rails. It also works on a variety of platforms like Windows, Macintosh and Linux. Ruby on Rails is also known as Rails. Rails is compatible to all common databases.

It makes use of a concept known as Convention over Configuration due to which little configuration is left at the time of writing the code. Rails run on top of an HTTP server. Therefore, Ruby and Rails are related but still different; Ruby is a high level programming language, whereas RoR or Rails is a web development framework which is implemented in the Ruby language. Rails web framework is used by many web companies like Twitter and Kongregate.

Both Ruby and RoR are free and one can easily download the package. Ruby is an essential component of RoR.

Comparison between Ruby and Ruby on Rails:

 

Ruby

Ruby on Rails

Definition

Ruby is an open source, object oriented and interpreted programming language

An open source web development framework based on ruby programming language

Developed by

Yukihiro Matsumoto

Heinemeier Hansson

Pricing

Free

Free

Type

Open source

Open source

Benefits

  • It is a dynamic programming language
  • Variables in Ruby are dynamically typed
  • Its greater flexibility
  • Web apps can be written in less time
  • Its gems which are library of functions can be used in different code bases
  • Build on Ruby

Website

ruby-lang.org

rubyonrails.org                

 

Image Courtesy: ruby.or.jp, kapishanimation.com

Most Searched in Business and Finance Most Searched in Society and Culture
Most Searched in Computers and Internets Most Searched Non-Alcoholic Drinks
Molarity vs Molality
Sony Xperia SP vs HTC One
High Blood Pressure vs Low Blood Pressure
Rosewood vs Ebony

Add new comment

Plain text

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.