IntroductionRuby on Rails is a web application framework (i.e. a set of programs and libraries that have already applications ready to use). Ruby stems from Smalltalk wich is an object-oriented language, Python and Perl that are interpreted languages. Rails is a web-application framework. It takes less line to code and less time to be executed. It includes the needed utilities to create a database-driven web applications using the MVC (Model-View-Controller) pattern. Ruby is an interpreted scripting language and an object-oriented programming, where variable declarations are unnecessary and not typed. Rails works with many database systems, such as MySQL, Oracle, DB2 and SQL Server. Ruby comes with three programs: ERb(Embedded Ruby), that allow us inserting Ruby codes inside an HTML file, eval that allows, over the prompt, showing the values of each entered expression, and irb prompt called Interactive Ruby Shell. As PHP JSP or ASP do, the Ruby codes can be embedded in a HTML document using appropriate tags, spaecially <% and %> code. The code is executed the JSP way when It is enclosed between those tags as <%= and %>. Ruby & Rails .. doing quickly and easily .. |