Ruby on Rails Workshop
October 22 & 23, 2010
Wireless: user => helloguest, password => T3riyak!
Hashtag: #rorw4w #railsbridge
Open Source Workshop
• Volunteer-powered event
• RailsBridge
• DevChix
Community-
based
• Workshop planning: DevChix
wiki
• Slides: github
• Github.com/railsbridge
Open
Today’s Sponsors
Why are We Here?
What is Ruby on Rails?
Anatomy of a Web App
e.g. Rails
J2EE
.Net
PHP/Django
Ruby and Rails
•Programming language
•Applicable to many domains
•Open Source
•Framework + Tools
•Written in Ruby
•For Web Applications
•Open Source
Rails Framework
Database
Agnostic
Convention
over
Configuration
DRY (Don’t
Repeat
Yourself)
TDD (Test
Driven
Development)
Model-View-
Controller
Opinionated
Rails: MVC
Web Application
Rails & Agile Development
• Agile Development: Iterative & Incremental
Values:
– Individuals & Interactions over processes & tools
– Working software over comprehensive documentation
– Response to change over following the plan
• Pair Programming
• TDD/BDD (Test/Behavior Driven Development)
Workshop Goal
You will build and deploy a Rails
application on the internet
Preview: Sample App
This is
how it
will
look….
Tools We Will Use
• Editor: KomodoEdit, TextMate
• Rails
• Rake (comes with Rails, runs tasks)
• Git: Source control
• Database: SQLite (comes with Rails)
• Heroku: Free hosting of Rails applications
Materials/Resources
• Slides
http://railsbridge.github.com/workshop/
• Curriculum
http://www.scribd.com/openworkshops
• Course Notes
http://www.wiki.devchix.com/index.php?title
=Rails_3_Curriculum
Workshop Schedule
9:30-10:00 Sign-in, Coffee Main Room
10:00-10:30 Introduction Main Room
10:30-11:20 Session 1: Ruby, IRB, rails
overview
BREAK
Breakout groups
11:30-12:20 Session 2: Rails
BREAK
Breakout groups
12:30-1:30 Lunch Main Room
1:30-2:45 Session 3: Rails (Models,
Routes, Views etc.)
BREAK
Breakout groups
3:00-4:00 Session 4: Rails (Deploy,
customizing, etc.)
Breakout groups
4:00-4:30 Wrapup, Final Questions Main Room
Wrap-Up & Resources
• Please stay tuned at www.meetup.com/sfruby
• Classes at http://classes.blazingcloud.net/
• Next Week: “How to Get Into Open Source,” with
Sarah Mei at Pivotal
• RubyKoans: http://rubykoans.com/
• Chris Pine, Learn to Program:
http://pine.fm/LearnToProgram/
• Why’s Poignant Guide:
http://mislav.uniqpath.com/poignant-guide/

Ruby on Rails: Outreach for Women, SF