Ruby on Rails was initially
obtained as a byproduct of Basecamp’s by David Heinemeier Hansson in 2004. To
tackle PHP’s and Java’s rigidness Hansson innovated the highly flexible Ruby on
Rails.
Rails was considered to be a much
obscured language during the time it was developed, this was mainly due to the
lack of such an extensive system inviting all kinds of languages in a friendly
way. Thus Hansson developed his own web development framework to turn things
simpler to do, and this framework was based on many small ideas which had
worked and been successful in other technologies. Instead of relying on a single
exotic idea, Rails relied on the smartness of Ruby on Rails developers and the
cluster of ideas borrowed from many established protocols.
The principle behind the working
of Ruby on Rails is Model-View-Controller.
This principle splits the application into three working bodies.
Models are the prototypes which explain the business end of the
application. Using these Models the problem that is being solved by the
application can be easily explained. The behavior of the problem which is being
tackled can also be analyzed using this model enabling the Ruby on Rails programmers to understand the problem better. These models are normally
supported by an Object-Relational-Mapping framework that keeps the entities in
the background of the framework.
Views are
general visual templates which help in delivering the raw data to the user with
the use of an efficient User Interface. The views also help in providing the logical
aspects of the presentation to the user in a customized way.
Controller is the most significant of all entities provided to a
Ruby on Rails developer as it controls almost every aspect of the framework. Controllers
bring in the requests from clients and these requests are processed
instantaneously. Changes to be made in the models are also initiated by the controllers.
And another important task it does is the rendering and starting of templates
in the project.
Rails is always known as the opinionated software as it does not provide
all the aspects of it to every Ruby on Rails programmer. It does not mean that
Ruby on Rails is a difficult platform for customizing a project but it just
means that to do it the “Rails way” is far simpler.
The main target of Ruby on Rails
development was to enhance the productivity of the Ruby on Rails developers
during the process of developing a project rather than increasing the
efficiency of the program, Though this was a welcome change to a lot of programmers,
some found it to be less scalable than similar other technologies. Though this
has been a case which has been accepted, most Ruby on Rails programmers are
expecting the technology to come up with scalable options in the future.
This platform which was started
with simple ideas has indeed gone a long way and has found a place in the pile
of top most web application framework.
0 comments:
Post a Comment