Ruby on Rails

November 16, 2009 at 1:18 am (Rails)

Ruby is a dynamic, open source programming language with a focus on simplicity and productivity.

Ruby on Rails is an open source web application framework for the ruby programing language. It is intended to be used with an agile development methidology that is used by web developers for quick development. Ruby on Rails provides a consistent approach to building web applications with an out of the box architecture.  With the Rails framework these you can get on to understanding the business problem and quickly build a working system and become productive quickly.
 
Rails web frameworks uses the Model-view-controller (MVC) architecture pattern to organize application programming.
Rails provides scaffolding that can automatically construct some of the models and views needed for a basic website. a simple ruby web server WEBrick and Rake build system are alse included. By including these common tools witht he rails framework, a basic development environment is in effect with all versions of the software.
 
In a Rails application, there are high productivity gains noticeable in the relationship between the model and the database. Once the developer understands the rules and constraints, Rails magically connects your view to your controller and model, and your model to the database. You don’t need generators or specialised tools to manage this, it all just works.
 
Ruby on Rails is separated into various packages, namely ActiveRecord (anobjedct-relational mapping system for database access).
Rails includes a well thought out object relationship mapping tool, ActiveRecord, which provides your answer to database persistence. Your model is seamlessly persisted to the database. Transactions, inheritance models, validation, and caching have all been thought out and are production ready. With Rails you become a lot closer to the structure of the database than traditional object-oriented development methodologies. This is a good thing as over time as the database will no doubt end up being your project’s most valuable asset.
 
Resource:
http://www.abletech.co.nz/2006/07/white-paper-10-reasons-for-ruby-on-rails/
 http://en.wikipedia.org/wiki/Ruby_on_Rails

Post a Comment