Ruby on Rails [ Ruby On Rails.ppt ] - [Ruby - [Ruby-Doc.org ...
Advanced Ruby and Rails Track Introjaoo.dk/dl/jaoo-ruby-oslo-2008/slides/Advanced Ruby... ·...
Transcript of Advanced Ruby and Rails Track Introjaoo.dk/dl/jaoo-ruby-oslo-2008/slides/Advanced Ruby... ·...
![Page 2: Advanced Ruby and Rails Track Introjaoo.dk/dl/jaoo-ruby-oslo-2008/slides/Advanced Ruby... · Versioning Your Data Model Scaling That Rails App Rails Without ActiveRecord Packaging](https://reader036.fdocuments.in/reader036/viewer/2022062605/5fda8cf9007c213013385436/html5/thumbnails/2.jpg)
“Advanced”
Higher-level features
Higher-level techniques
Higher-level tools
Photo by Toshihiro Oimatsu
![Page 3: Advanced Ruby and Rails Track Introjaoo.dk/dl/jaoo-ruby-oslo-2008/slides/Advanced Ruby... · Versioning Your Data Model Scaling That Rails App Rails Without ActiveRecord Packaging](https://reader036.fdocuments.in/reader036/viewer/2022062605/5fda8cf9007c213013385436/html5/thumbnails/3.jpg)
Advanced means “lower-level”
Lower-level workto achieve higher-level goals
Photo by Jurek Durczak
![Page 4: Advanced Ruby and Rails Track Introjaoo.dk/dl/jaoo-ruby-oslo-2008/slides/Advanced Ruby... · Versioning Your Data Model Scaling That Rails App Rails Without ActiveRecord Packaging](https://reader036.fdocuments.in/reader036/viewer/2022062605/5fda8cf9007c213013385436/html5/thumbnails/4.jpg)
Ruby and RailsKey characteristic for advanced development: openness
Photo by John Martinez Pavliga
![Page 5: Advanced Ruby and Rails Track Introjaoo.dk/dl/jaoo-ruby-oslo-2008/slides/Advanced Ruby... · Versioning Your Data Model Scaling That Rails App Rails Without ActiveRecord Packaging](https://reader036.fdocuments.in/reader036/viewer/2022062605/5fda8cf9007c213013385436/html5/thumbnails/5.jpg)
Openness
Ability to see how things work at lower levels
Ability to use lower-level facilities
Ability to change how things work
Photo by Peter Lindberg
![Page 6: Advanced Ruby and Rails Track Introjaoo.dk/dl/jaoo-ruby-oslo-2008/slides/Advanced Ruby... · Versioning Your Data Model Scaling That Rails App Rails Without ActiveRecord Packaging](https://reader036.fdocuments.in/reader036/viewer/2022062605/5fda8cf9007c213013385436/html5/thumbnails/6.jpg)
Leaky Abstractions
The Law of Leaky Abstractions is dragging us down.
—Joel Spolsky
![Page 7: Advanced Ruby and Rails Track Introjaoo.dk/dl/jaoo-ruby-oslo-2008/slides/Advanced Ruby... · Versioning Your Data Model Scaling That Rails App Rails Without ActiveRecord Packaging](https://reader036.fdocuments.in/reader036/viewer/2022062605/5fda8cf9007c213013385436/html5/thumbnails/7.jpg)
Leaky Abstractions
Ring the bells that still can ring,Forget your perfect offering.
There is a crack in everything—That’s how the light gets in.
—Leonard Cohen
![Page 8: Advanced Ruby and Rails Track Introjaoo.dk/dl/jaoo-ruby-oslo-2008/slides/Advanced Ruby... · Versioning Your Data Model Scaling That Rails App Rails Without ActiveRecord Packaging](https://reader036.fdocuments.in/reader036/viewer/2022062605/5fda8cf9007c213013385436/html5/thumbnails/8.jpg)
Leaky Abstractions
Embrace imperfection.
Ruby’s and Rails’ abstractions leak aggressively.
Encapsulation boundaries serve you.
(they don’t restrict you)
Photo by Ville Miettinen
![Page 9: Advanced Ruby and Rails Track Introjaoo.dk/dl/jaoo-ruby-oslo-2008/slides/Advanced Ruby... · Versioning Your Data Model Scaling That Rails App Rails Without ActiveRecord Packaging](https://reader036.fdocuments.in/reader036/viewer/2022062605/5fda8cf9007c213013385436/html5/thumbnails/9.jpg)
Onion-skin APIs
Peel as little or as much as you like.
Photo by Tim Snell
![Page 10: Advanced Ruby and Rails Track Introjaoo.dk/dl/jaoo-ruby-oslo-2008/slides/Advanced Ruby... · Versioning Your Data Model Scaling That Rails App Rails Without ActiveRecord Packaging](https://reader036.fdocuments.in/reader036/viewer/2022062605/5fda8cf9007c213013385436/html5/thumbnails/10.jpg)
EncapsulateDon’t let the “advanced” piecescomplicate your entire system.
Photo by Art Bromage
![Page 11: Advanced Ruby and Rails Track Introjaoo.dk/dl/jaoo-ruby-oslo-2008/slides/Advanced Ruby... · Versioning Your Data Model Scaling That Rails App Rails Without ActiveRecord Packaging](https://reader036.fdocuments.in/reader036/viewer/2022062605/5fda8cf9007c213013385436/html5/thumbnails/11.jpg)
Talks and Speakers
Versioning Your Data Model
Scaling That Rails App
Rails Without ActiveRecord
Packaging Ruby Libraries with RubyGems
Ole Friis Østergaard
Christian Amor Kvalheim
Marius Mårnes Mathiesen
Nic Williams