80 likes | 168 Views
Ruby on Rails. By: Kenton Born. What is it?. Open source framework Built on the Ruby Language Used for developing database-backed web applications Follows the Model-View-Controller architecture. Advantages. Fast, Agile Development CRUD (Create, Retrieve, Update and Delete) Scaffolding
E N D
Ruby on Rails By: Kenton Born
What is it? • Open source framework • Built on the Ruby Language • Used for developing database-backed web applications • Follows the Model-View-Controller architecture
Advantages • Fast, Agile Development • CRUD (Create, Retrieve, Update and Delete) • Scaffolding • Less Code • Easily Maintainable • More convention, less configuration (No XML configuration files) • Designed so that it enforces standard naming conventions for mapping classes to resources or events
InstantRails • Windows Development Environment • Minimizes setup, allowing the developer to immediately start working on RoR applications without worrying about setup, integration, and testing. • Includes: • Ruby • Rails • Apache • MySQL • Mongrel (http library and server for ruby web applications) • And more!
Development/Testing/Production • Rails assumes and automatically sets up multiple database connections for the various stages of development • It assumes databases exist for development, testing, and production… i.e. <proj>_development • If the user would like to modify the name of the database, they can simply change it in the “database.yaml” file automatically created with each project
References • http://www.rubyonrails.org/ • http://instantrails.rubyforge.org/ • http://www.ibm.com/developerworks/linux/library/wa-rubyonrails/ • http://www.cmswire.com/cms/industry-news/php-vs-java-vs-ruby-000887.php