~/talk

All you need is Rails (Engines): Compartmentalising your Monolith

Talkat RubyConf AU 2023 · 2023-02-16..02-17· [ruby-on-rails, frontend-architecture]
slides:none on file

Claims a lean Rails engine pattern: drop the gemspec and dummy app, keep a single lib/engine file plus app/, and Rails auto-loads models/controllers/routes so the example MusicUniverse app boots and models appear in the console. Notes the generator initially creates 80 files; the stripped approach removes that noise. Uses the Packwerk gem by Shopify to enforce package privacy and declared dependencies, keeps one single database and test helper, mounts engines under app routes, and shows the modules are extractable later if operational needs demand.

AI-written summary · about

  1. 0:00Rails engines introduction
  2. 3:08Rails conventions at scale
  3. 7:19Code design principles
  4. 8:43Monoliths becoming unmanageable
  5. 11:11Rails engines complexity
  6. 13:38Leaner Rails engines
  7. 16:28Minimal Rails engine structure
  8. 19:38Modular Rails app with engines
  9. 22:48Nested engines structure
  10. 23:08Models migrations setup
  11. 25:14Testing and routes in engines
  12. 27:43Modular structure importance
  13. 30:31Packwerk dependency management
  14. 31:59Packwerk privacy interfaces
  15. 34:05Packwerk dependency rules
  16. 36:34Modular apps to microservices
  17. 37:15Future of modular Rails
~/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.