~/talk

First Class Commands: The 2017 Edition

Talkat NDC Oslo 2017 · 2017-06-14..06-16· [frontend-architecture]
links:none on file
slides:none on file

Argues that turning method invocations into first-class commands lets code serialize, debounce, inspect and persist edits; shows JavaScript buffer examples that return Edit objects, a job queue pattern and use of Ember Concurrency task instances; implements reversible edits for undo/redo histories and demonstrates multi-user convergence via operational transform with GUIDs (Alice, Bob, Carol test) — prototype code and sync tests run and finally converge correctly.

AI-written summary · about

  1. 0:00Start
  2. 0:09First-Class Commands an unexpectedly fertile design pattern
  3. 2:46the canonical example: mutable data
  4. 9:26storing invocations
  5. 22:20transforming invocations
  6. 48:36how does differential synchronization differ from the command pattern?
  7. 50:15distributed version control
  8. 55:00separation of concerns
~/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.