Presentation is loading. Please wait.

Presentation is loading. Please wait.

Ruby on Rails a popular web application framework, aimed to increase the speed and ease of web development Ruby on Rails, Tim Zappe.

Similar presentations


Presentation on theme: "Ruby on Rails a popular web application framework, aimed to increase the speed and ease of web development Ruby on Rails, Tim Zappe."— Presentation transcript:

1 Ruby on Rails a popular web application framework, aimed to increase the speed and ease of web development Ruby on Rails, Tim Zappe

2 Creation Rails was created by David Heinemeier Hansson and based on his work with Basecamp at 37signals. It was released in 2004. Apple has announced they will ship ROR with the new version of OS X [10.4] due out in this spring. Ruby on Rails, Tim Zappe

3 Why Frameworks? A framework is a set of software tools and libraries used to streamline the development process. Typically the provide built-in functionality for database access, templating, and session management. The goal of using a framework is to only write the code for your project that is specific. There is no need to reinvent the wheel for common tasks. Ruby on Rails, Tim Zappe

4 Why Rails? The success of rails has been based mostly on Ruby’s ease of use. By not wasting time reinventing the wheel on every project, developers are able to spend more time working on the richness of the user interface. Integrated ajax techniques Integrated unit testing Ruby on Rails, Tim Zappe

5 Why not rails? Some recent complaints about rails talk about why the core team develops mostly on Apple computers. There have been complaints that programming rails on Windows can be challenging since there lacks a IDE for the the software. Rails works wonderful for projects built from scratch, but can be a pain to function on top of legacy databases. Ruby on Rails, Tim Zappe

6 MVC Programming Model-View-Controller Programming is way to split an application into multiple layers. It’s common to split the user interface from the data access, but MVC goes a step further by splitting the UI into view and a controller. Ruby on Rails, Tim Zappe

7 Model A model in MVC programming is the layer that represents the data in an application. It adds meaning on top of raw data. In Rails, the model represents a table in a database and interacts with other models. Ruby on Rails, Tim Zappe

8 View The view is the portion of the the code that displays the user interface. In rails, this is done with.rhtml files [ruby embedded html] to display dynamic data in usable interface. Ruby on Rails, Tim Zappe

9 Controller The controller is designed to respond to events, and to designated which view is given to the user. In Rails, the controller is used to define common actions. By default, rails includes scaffolding which is a technique used to generate common actionsused such as Create, Read, Update, Delete (CRUD) Ruby on Rails, Tim Zappe

10 Popular Projects Basecamp: http://www.basecamphq.com/http://www.basecamphq.com/ 43things: http://www.43things.com/http://www.43things.com/ Shopify: http://shopify.com/http://shopify.com/ Odeo: http://odeo.com/http://odeo.com/ Fluxiom: http://www.fluxiom.com/http://www.fluxiom.com/ Typosphere: http://www.typosphere.org/http://www.typosphere.org/ Strong Space: http://www.strongspace.com/http://www.strongspace.com/ Ruby on Rails, Tim Zappe


Download ppt "Ruby on Rails a popular web application framework, aimed to increase the speed and ease of web development Ruby on Rails, Tim Zappe."

Similar presentations


Ads by Google