Ruby On Rails Introduction And Tutorial PDF

Ruby on Rails Introduction & Tutorial Book PDF Free Download

What is Ruby on Rails?

Ruby on Rails is a web application framework written in Ruby, a dynamic programming language. Ruby on Rails uses the Model-View-Controller (MVC) architecture pattern to organize application programming.

What is Ruby on Rails?(Continued)

• A model in a Ruby on Rails framework maps to a table in a database

• A controller is the component of Rails that responds to external requests from the webserver to the application, and responds to the external request by determining which view file to render

• A view in the default configuration of Rails is an erb file. It is typically converted to output HTML at run time.

Ruby
• It is a dynamic, general-purpose object-oriented programming language
• Combines syntax inspired by Perl, also influenced by Eiffel and Lisp
• Supports multiple programming paradigms, including functional, object-oriented, imperative and reflective.

Rails
• Rails is an open-source Ruby framework for developing database-backed web applications
• The Rails framework was extracted from real-world web applications. Thus it is an easy to use and cohesive framework that’s rich in functionality

Rails(Contd.)
• All layers in Rails are built to work together and use a single language from top to bottom
• Everything in Rails (templates to control flow to business logic) is written in Ruby, except for configuration files – YAML

What is so special about Rails

• Other frameworks use extensive code generation, which gives users a one-time productivity boost but little else, and customization scripts let the user add customization code in only a small number of carefully selected points
• Metaprogramming replaces these two primitive techniques and eliminates their disadvantages.
• Ruby is one of the best languages for metaprogramming, and Rails uses this capability well.

WriterBhaskar Vaish
LanguageEnglish
Pages39
Pdf Size1.10 MB
CategoryComputer

Report

Ruby on Rails Introduction & Tutorial Book PDF Free Download

Leave a Comment

Your email address will not be published. Required fields are marked *