~/talk

Component-based Architectures in Ruby and Rails

Talkat MountainWest RubyConf 2013 · 2013-04-03..04-05· [ruby, frontend-architecture]
slides:none on file

Walks through eight architectures from a single Rails app to namespaced modules, local path gems, Rails engines, an event counter engine and finally HTTP services, demonstrating concrete steps: extract component into a path gem, run its specs independently, embed as an engine with migrations and assets, refactor models into a single-purpose service class, publish the gem and swap a path reference for a versioned dependency; tests run in parallel and the refactorings verify they actually work.

AI-written summary · about

  1. 0:00Start
  2. 2:10Give yourself a box so you can start thinking outside of it
  3. 11:07A higher level structure
  4. 15:16Provably independent tests
  5. 16:29The Rails component app
  6. 17:15Provable structure for Rails
  7. 21:35What code smell did you see?
  8. 22:55Clearer responsibilities
  9. 26:24Reduced surface area
  10. 27:27gem build event_counter..
  11. 28:25The HTTP SOA app
~/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.