~/talk

Rails Engines Patterns

Talkat RailsConf 2012 · 2012-04-23..04-25· [ruby-on-rails, software-architecture]
slides:none on file

Claim: Rails Engines let teams extract reusable MVC (models, views, controllers, assets, routes, rake tasks) into gems so three Rails 3 apps share a college search map and domain models with dramatic duplication reduction. The project uses a simlink workflow to avoid repeated bundle installs, pins engine versions via git refs in Gemfile, centralizes migrations in a migrations engine, and provides patterns — exposed helpers, exposed partials, extension points, configurable features — that work but add repo and release overhead versus turning the feature into a service.

AI-written summary · about

  1. 0:00Rails Engines and monoliths
  2. 6:04What is a Rails Engine
  3. 10:16Load order and customization
  4. 13:46View and asset limits
  5. 15:33Code management with engines
  6. 18:25Sim linking engines
  7. 21:47Engines reuse and config
  8. 23:54Avoiding namespace clashes
  9. 26:25Engine patterns goals
  10. 27:29Pattern: common domain
  11. 30:24Pattern: exposed helpers
  12. 33:15Pattern: exposed partials
  13. 34:43Pattern: extension points
  14. 38:57Migrations in shared engines
  15. 42:22Pattern: configurable features
  16. 43:26Costs and benefits of engines
  17. 46:12Engines vs services trade-offs
  18. 49:46Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.