13-07-2013, 12:41 PM
RUBY ON RAILS A SEMINAR REPORT
RUBY ON RAILS.docx (Size: 181.79 KB / Downloads: 25)
ABSTRACT
Ruby on rails is a open source webs framework that is optimized for programmers happiness and sustainable productivity.It lets you write favourable programming by favouring convention over configuration.
Ruby on rails is a web application framework aimed towards the rapid development and deployment of dynamic web 2.0 applications.It is an open source web application framework for the ruby programming language.For rapid web development,web developers use an agile programming methodology and the RoR is designed to be used with such a development methodology.The Model-view-Controller(MVC) architecture pattern is used by the RoR to organize the application organization.
Ruby on Rails includes many tools which are designed to make the out of box web development easier.For example scaffolding can be useful for automatically constructing the models and views necessary for a basic website.Also, a simple Ruby web server called the WEBrick is distributed with ruby.Also, a build system,called Rake is distributed as a gem.Thus the RUBY ON RAILS together with these development tools provide a basic development environment.
Introduction
I assume you’re already familiar with some other form of Web development, whether PHP, Python, Perl or Java, and relational databases like MySQL. First, lets introduce Rails and Ruby and the basic ideas behind both.
Ruby on Rails was created by David Heinemeier Hansson as a kind of byproduct of Basecamp’s development at 37signals in 2004. Basecamp was built in Ruby because Hansson found PHP and Java not powerful or flexible enough. It was quite an obscure language back then, without the large eco-system available today. To make development easier, Hansson rolled his own Web development framework, based on simple ideas that had proven successful elsewhere. Rails is founded on pragmatism and established paradigms instead of exotic new ideas. And that’s what made it so successful.
Dynamic
Rubyis a very dynamic programming language. Ruby programs aren’t compiled, in the way that C or Java programs are. All of the class, module and method definitions in a program are built by the code when it is run. A program can also modify its own definitions while it’s running. Even the most primitive classes of the language like String and Integer can be opened up and extended. Rubyists call this monkey patching and it’s the kind of thing you can’t get away with in most other languages.
Rails strength
When starting to work with Rails you will find yourself looking at controllers and lots of views and models for your database. In order to reduce the need of heavy configuration, the team behind Rails has set up rules to ease up working with the application. These rules are not one-way. You may define your own rules but for the beginning (and for your further work, too) it's a good idea to stick to the conventions that Rails offers. These conventions will speed up development, keep your code concise and readable and - most important - these conventions allow you an easy navigation inside your application.
Full stack web framework
Rails is an MVC web framework where models, views, and controllers are fully integrated in a seamless fashion. That means you automatically get all the benefits of an MVC design without the hassle of explicitly configuring each component to play well with the others.
Conclusion
Ruby on Rails is a great framework for creating advanced web applications writing very little code in comparison to what you get. I recommend it for almost any kind of application, and especially for prototyping.a new technology in web development that doesn’t hurt.