AGILE
WEB DEVELOPMENT
WITH RUBY ON RAILS
ROB DAVARNIA
robdvr.com
@robdvr
?

WHAT’S RAILS?
AN

AGILE

WEB

FRAMEWORK

THAT USES

RUBY

twitter, livingsocial, codeacademy, basecamp &...
{

FRAMEWORK
STRUCTURE
MODULARITY
ABSTRACTION
ENCAPSULATION
?

WHAT’S AGILE?

AGILE

vs.
Waterfall MODEL
requirements
design
implementation
verification
maintenance
RAILS IS AGILE
“DONE IS BETTER THAN PERFECT.”
“CONVENTION
“DON’T

OVER CONFIGURATION.”

REPEAT YOURSELF.” (DRY)
ARCHITECTURE
MODEL SQL & Database Queries / ORM
VIEW Presentation & Styling / CSS, Javascript
CONTROLLER Logic & Methods
ARCHITECTURE
BROWSER

1

ROUTER

2
5

CONTROLLER

4
VIEW

3
MODEL

DATABASE
MODEL

!
!

DRIVERS
OBJECT-RELATIONAL MAPPING(ORM)
student = Student.all

WILL GENERATE
SELECT *
FROM students;
CONTROLLER
ENCAPSULATES ALL
THE METHODS AND
APP LOGIC
ACTS AS A LAYER BETWEEN	

MODEL & VIEW*	

*for a db-driven view
VIEW
PRESENTATION, DESIGN

& STYLING

AMAZING 	

ASSET PIPELINE

SCSS & COFFEESCRIPT
YOU CAN USE
BACKBONE, ANGULAR,...
GEMS

3,600+
RUBY	
  PACKAGES
DEFAULTS
Database
Styles
Javascript

SQLITE
SCSS (SASS)
COFFEESCRIPT - UGLIFIER
<

DEMO

>
RESOURCES
rubyonrails.org
guides.rubyonrails.org
api.rubyonrails.org
!

ruby-toolbox.com
!

codeschool.com (Try Ruby / Rai...
DEPLOYMENT
<

QUESTIONS

>
<% end %>
ROB DAVARNIA
robdvr.com
@robdvr
Upcoming SlideShare
Loading in …5
×

Getting started with Ruby on Rails

801 views

Published on

Soc

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
801
On SlideShare
0
From Embeds
0
Number of Embeds
404
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Getting started with Ruby on Rails

  1. 1. AGILE WEB DEVELOPMENT WITH RUBY ON RAILS ROB DAVARNIA robdvr.com @robdvr
  2. 2. ? WHAT’S RAILS? AN AGILE WEB FRAMEWORK THAT USES RUBY twitter, livingsocial, codeacademy, basecamp &...
  3. 3. { FRAMEWORK STRUCTURE MODULARITY ABSTRACTION ENCAPSULATION
  4. 4. ? WHAT’S AGILE? AGILE vs. Waterfall MODEL requirements design implementation verification maintenance
  5. 5. RAILS IS AGILE “DONE IS BETTER THAN PERFECT.” “CONVENTION “DON’T OVER CONFIGURATION.” REPEAT YOURSELF.” (DRY)
  6. 6. ARCHITECTURE MODEL SQL & Database Queries / ORM VIEW Presentation & Styling / CSS, Javascript CONTROLLER Logic & Methods
  7. 7. ARCHITECTURE BROWSER 1 ROUTER 2 5 CONTROLLER 4 VIEW 3 MODEL DATABASE
  8. 8. MODEL ! ! DRIVERS OBJECT-RELATIONAL MAPPING(ORM) student = Student.all WILL GENERATE SELECT * FROM students;
  9. 9. CONTROLLER ENCAPSULATES ALL THE METHODS AND APP LOGIC ACTS AS A LAYER BETWEEN MODEL & VIEW* *for a db-driven view
  10. 10. VIEW PRESENTATION, DESIGN & STYLING AMAZING ASSET PIPELINE SCSS & COFFEESCRIPT YOU CAN USE BACKBONE, ANGULAR,...
  11. 11. GEMS 3,600+ RUBY  PACKAGES
  12. 12. DEFAULTS Database Styles Javascript SQLITE SCSS (SASS) COFFEESCRIPT - UGLIFIER
  13. 13. < DEMO >
  14. 14. RESOURCES rubyonrails.org guides.rubyonrails.org api.rubyonrails.org ! ruby-toolbox.com ! codeschool.com (Try Ruby / Rails for Zombies) lynda.com railscasts.com agile web dev. with rails (book)
  15. 15. DEPLOYMENT
  16. 16. < QUESTIONS >
  17. 17. <% end %> ROB DAVARNIA robdvr.com @robdvr

×