Download presentation
Presentation is loading. Please wait.
Published byHilary Quinn Modified over 9 years ago
1
Ruby on Rails By S. Christopher Hellriegel
2
Overview 1. What is Ruby on Rails? 2. What is MVC? 3. Simple example 4. Wow, that was cool!
3
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
4
What is MVC? Model-View-Controller Architecture Breaks components up Model -> encapsulates data View -> presentation layer Controller -> business logic, ties Model and View together
5
Simple Example Store Recipes! First, create directory
6
Example Continued… cd into cookbook2 directory Create database
7
Example Continued… Configure database
8
Example Continued… Test run server
9
Example Continued… Generate model object Add scaffold into model
10
Wow, that was cool! It works!!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.