4. Duck Typing
"when I see a bird that walks like a duck and swims like a
duck and quacks like a duck, I call that bird a duck."
Tuesday, June 15, 2010
42. Let’s make this
uselessness
configurable.
WORKING WITH RAILTIES
Tuesday, June 15, 2010
43. WHAT IS A RAILTIE?
The interface between the
Rails framework and its components
Tuesday, June 15, 2010
44. WHAT CAN YOUR RAILTIE DO?
• Allow you to accept configuration from application.rb
• Set up initializers in your extension’s context
• Tell Rails about generators and rake tasks
• Build engines, plugins, and applications
Engines, plugins, and applications
are all subclasses of Railtie in
Rails 3
Tuesday, June 15, 2010
55. IRC bot framework
Modular enterprise app
FOOD FOR THOUGHT
MUD game framework
Modular view system
A pluggable admin panel
Tuesday, June 15, 2010
56. RESOURCES
http://github.com/rails/rails
bundle open rails
bundle open actionpack
bundle open ... etc ...
http://railsapi.com/
Tuesday, June 15, 2010