Ruby on Rails

Ruby on Rails - Breaks components up Model ->...

Info iconThis preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon
Ruby on Rails By S. Christopher Hellriegel
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Overview 1. What is Ruby on Rails? 1. What is Ruby on Rails? 2. What is MVC? 2. What is MVC? 3. Simple example 3. Simple example 4. Wow, that was cool! 4. Wow, that was cool!
Background image of page 2
What is Ruby on Rails? New, radical web development framework Built in Ruby and utilizes MVC architecture Practices DRY (Don’t Repeat Yourself) Utilizes metaprogramming Is fully database capable Utilizes convention over configuration Easy to use, especially when compared to other frameworks
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
What is MVC? Model-View-Controller Architecture
Background image of page 4
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 8
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 10
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Breaks components up Model -> encapsulates data View -> presentation layer Controller -> business logic, ties Model and View together Simple Example Store Recipes! First, create directory Example Continued cd into cookbook2 directory Create database Example Continued Configure database Example Continued Test run server Example Continued Generate model object Add scaffold into model Wow, that was cool! It works!!...
View Full Document

Page1 / 10

Ruby on Rails - Breaks components up Model ->...

This preview shows document pages 1 - 10. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online