Ruby on Rails Crash course

12
Ruby on Rails Crash Course @andreanodari @nodo

description

 

Transcript of Ruby on Rails Crash course

Page 1: Ruby on Rails Crash course

Ruby on Rails Crash Course

@andreanodari @nodo

Page 2: Ruby on Rails Crash course
Page 3: Ruby on Rails Crash course
Page 4: Ruby on Rails Crash course

– 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

Page 5: Ruby on Rails Crash course
Page 6: Ruby on Rails Crash course

–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

Page 7: Ruby on Rails Crash course

Principles

• Convention over configuration

• DRY (Don’t Repeat Yourself)

• MVC (Model - View - Controller pattern)

Page 8: Ruby on Rails Crash course

Router

Controller

Model View

Page 9: Ruby on Rails Crash course

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)

Page 10: Ruby on Rails Crash course

Ruby: additional resources

• Ruby in 100 minutes

• Ruby Koans

• Ruby Warriors (command line)

• Ruby Warriors from your browser

Page 11: Ruby on Rails Crash course

Rails: additional resources

• Rails tutorial

• Rails for zombies

• Railscasts

Page 12: Ruby on Rails Crash course

http://nodo.github.io @andreanodari @nodo