Archive for October, 2010

Ruby on Rails?

Monday, October 25th, 2010

Ruby on Rails

Ruby on Rails is a framework which is supported on all 600host UK packages it aims to increase the speed and ease of websites that are database oriented. It is possible with Ruby on Rails to create predefined strutures referred to as rails. Applications that use Ruby on Rails structure are based on model view controller (MVC).

Ruby on Rails was released to the public in July 2004 created by David Heinemeier Hansson

Ruby on Rails and its Components
Rails is a “meta-framework”, as its a junction of five frameworks:


Active Record

Active record is mapping of a layer in relational form (object-relational mapping layer) for the ability to share application and database data.

Action Pack
Able to follow the generation of user viewing as HTML, XML or JavaScript etc. and control the flow of data.

Action Mailer
Responsibe for the delivery server and inbox of e-mails.

Active Support
Active Support is a number of added library classes to allow the user more powerful scripting.

Action WebServices
Allows APIs with Ruby on Rails without spending time in protocol specifications.

Action Web Service is no longer available in version 2.0. You may however install this as a plugin.

Development Time
With 2 concepts that are aimed to increase a developers productivity.

DRY basically allows the use of the programmer to not to repeat themselves.

Convention over configuration – conventions ared used in the day-to-day programming in general. It basically assumes dafault values allowing users classes to have data stored in the customer tables rather than a user table which allowing quicker development.

Ruby on Rails – Scalability

Cases of websites created using the Rails software which support 5 million hits a month, or approximately 115 per minute, a performance considered sufficient for 90% of current applications.

A tatic used by Rails is to keep sessions on NFS volumes which is accessible by all applications on the server. Session caching is also available allowing direct access to database. A third would save the session in a cookie on the user’s machine.

Ruby on Rails application is created with all the support necessary to allow growth.