Upload
tomasz-gieres
View
107
Download
7
Tags:
Embed Size (px)
DESCRIPTION
Quick comparison of the SOLID approach and the Rails way approach of creating web apps.
Citation preview
Beyond The Rails WayTomasz Giereś @ Lunar Logic
Last week
• The H. Project
• Success?
• Hangover
• Reasons?
Jump back in time
The Java Way
2005Rails comes out
The Rails Way
2006-2008http://paulklipp.com/articles/
from-java-to-ruby-book-summary.pdf
Problems
• Fat models
• Global variables
• Helpers
• …
Where’s Wally?aka understanding and debugging a flow in Rails apps
The Java Way&
The Rails Way
History
History
History
History
History
30-40 years
SOLID
• Principles
• Set of guidelines
• Big applications
• Experience
• Makes sense
Small projects only
• Clearly
• books.llp.pl
The Rails Way criticism
The Solution
KISS
Learn SOLID*
* SOLID != service objects, repositories, presenters
Why to start
• Universal
• Ruby on Rails Developer vs Software Developer
• Predictive workflow
• Creative work?
When to start
• When you can practice it
• When in environment that encourages high quality
• When surrounded by people willing to help
Where to start
• Sandi Metz - Practical Object-Oriented Design in Ruby
• Uncle Bob - Getting a SOLID start
• people at the office you can talk to
The End