~/talk

Creating Mountable Engines

Talkat RailsConf 2013 · 2013-04-29..05-02· [ruby-on-rails]
links:none on file
slides:none on file

Explains how to build mountable engines for Rails 3/4 with concrete commands and files: generator output, engine.rb configuration, the mount method for routes, migrations namespaced and copied into apps via rake, middleware and initializer hooks, and packaging JS/CSS via the asset pipeline. Describes an actual BrowserCMS conversion experience, installer generators, and practical pitfalls: dependency/version conflicts, fragmented auth solutions, and mismatched UIs, so expect actionable patterns and upgrade tradeoffs.

AI-written summary · about

  1. 0:00Intro
  2. 1:52Problem: Repeating yourself is easy
  3. 2:32Start with a library
  4. 2:57Plugins are dead
  5. 3:30Generated code makes upgrades costly
  6. 4:18Engines are the solution
  7. 4:32Agenda
  8. 4:52Evolving a CMS with engines
  9. 6:27What are engines?
  10. 7:14Separation of concerns
  11. 7:48E-commerce
  12. 8:13Authentication
  13. 8:34Admin dashboards
  14. 9:35Creating an engine
  15. 10:50Add a resource
  16. 11:12The expected controller
  17. 11:24An isolated controller
  18. 11:40Defining an isolated namespace
  19. 12:42Engine routes
  20. 13:04Calling resources
  21. 13:37Mounting the engine
  22. 14:05Route helpers
  23. 14:59Getting smart about your routes
  24. 15:21A view from inside the engine
  25. 16:55Namespaced tables
  26. 17:28Out of the gem into the project
  27. 18:36Installing migrations for all engines
  28. 19:53Initializers
  29. 20:34Extending rails behavior
  30. 21:34Middleware stack
  31. 22:58Make your engine configurable
  32. 24:22Overriding default configuration
  33. 24:53Write a README
  34. 25:37Improve installation
  35. 28:39My favorite key
  36. 30:31The Holy Grail for engine ecosystem
  37. 30:50Challenges on our quest
  38. 31:08A. Incompatible dependencies
  39. 31:37Managing your engine dependencies
  40. 32:47B. No common security model
  41. 35:58Reduce errors from duplication
~/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.