~/talk

Enemy of the State

Talkat Spotlight Front-End 2014 · on Saturday, 2014-11-29· [frontend-architecture, javascript]
slides:none on file

Compares three concrete approaches: server-rendered pages are effectively stateless on the front end but cause slow full-refresh UX; DOM/Ajax libraries (jQuery) bind UI events and quickly produce tangled inter-component listeners; observer frameworks (Backbone/Angular) move data into models but keep UI state in controllers so wiring explodes at scale. Recommends a Flux-style one-way data flow with central stores holding all state, giving predictable testing, easy serialization (Circle CI demo) and cheap undo/redo (Goya drawing example implemented in ~10 lines).

AI-written summary · about

  1. 0:00Introduction
  2. 2:00State Types
  3. 3:30Stateless
  4. 5:20ServerSide Rendering
  5. 5:50Ajax Rendering
  6. 8:10Observers
  7. 10:50Complexity
  8. 11:40Facebook
  9. 12:30Flux
~/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.