~/talk

Make an Event of It

Talkat RailsConf 2014 · 2014-04-22..04-25· [ruby-on-rails, frontend-architecture]
slides:none on file

Claims that evented patterns decouple concerns so controllers stop accumulating side effects and tests shrink to asserting a single event fire; demonstrates a tiny implementation (SimpleEvents::Notifier) — about fifty lines — and reuse of ActiveSupport::Notifications in Rails. Uses a New Relic example where a server-side config shifts the readiness point to a later event named configured, which simplifies unit tests but surfaces issues: a guard for >100 subscribers, potential ordering dependencies, synchronous execution, performance costs and memory-leak risks.

AI-written summary · about

  1. 0:00Start
  2. 4:36The Pattern Coupling Mechanics Responsibilities
  3. 6:25Why Not Methods?
  4. 6:44Why Not Callbacks?
  5. 13:01Implicit Ordering
  6. 13:53Performance up
  7. 14:48Error collection
  8. 15:29No Setup Please!
  9. 17:01Compatibiltys Layer
  10. 24:57Naming
  11. 25:56Flexible Payload
  12. 26:41Primitives at Boundaries
  13. 29:17Nesting
~/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.