Architecting Multiple Ruby
- n Rails Applications that
Share a Common Code Base
NOVA Software Architecture Roundtable Gregory Hodum - ghodum@solutionstreet.com
Architecting Multiple Ruby on Rails Applications that Share a - - PowerPoint PPT Presentation
Architecting Multiple Ruby on Rails Applications that Share a Common Code Base NOVA Software Architecture Roundtable Gregory Hodum - ghodum@solutionstreet.com Business Problem Client wants you to build another RoR application that is similar
NOVA Software Architecture Roundtable Gregory Hodum - ghodum@solutionstreet.com
Client wants you to build another RoR application that is similar to the one you just developed…
…but different…
functionality
via API
Ruby gem + MVC stack elements
http://guides.rubyonrails.org/engines.html
blorgh
Rails Engine
rainbow
Rails App
unicorn
Rails App
ActiveSupport::Concern)
To generate a new Rails Engine: rails plugin new blorgh --mountable
Then include as a gem in your application’s Gemfile: gem 'blorgh', path: "/path/to/blorgh"
Converting an existing app to use Rails Engines so far…
Engine classes
suite-of-rails-engines#pitfalls
examples-of-rails-engines-in-action