Post on 01-Dec-2014
description
Ruby on Rails Crash Course
@andreanodari @nodo
– https://www.ruby-lang.org
“A dynamic, open source programming language with a focus on simplicity and
productivity. It has an elegant syntax that is natural to read and easy to write.”
Ruby
–Tim O'Reilly, Founder of O'Reilly Media
“Ruby on Rails is a breakthrough in lowering the barriers of entry to programming.
Powerful web applications that formerly might have taken weeks or months
to develop can be produced in a matter of days.”
Ruby on Rails
Principles
• Convention over configuration
• DRY (Don’t Repeat Yourself)
• MVC (Model - View - Controller pattern)
Router
Controller
Model View
Let’s build a blog!
1. Up and Running (list of articles)
2. Form-based workflow (create and update)
3. Adding comments to articles (yep, comments)
4. A few gems (sorcery)
Ruby: additional resources
• Ruby in 100 minutes
• Ruby Koans
• Ruby Warriors (command line)
• Ruby Warriors from your browser
Rails: additional resources
• Rails tutorial
• Rails for zombies
• Railscasts