80 likes | 105 Views
Discover the power of Ruby on Rails, an open-source framework for building database-backed web applications. This framework, built on the Ruby language, follows the Model-View-Controller architecture, allowing for fast and agile development with features like CRUD operations, scaffolding, and less code. Learn how Rails enforces naming conventions, providing an easily maintainable structure with minimal configuration. InstantRails offers a seamless Windows development environment, including Ruby, Rails, Apache, MySQL, Mongrel, and more. Rails is ideal for development, testing, and production stages, automatically setting up databases for each. Compare Rails with J2EE architecture and explore references to enhance your web development skills.
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