~/talk

Beyond the DOM: Sane Structure for JS Apps

slides:none on file

Argues that apps must stop being DOM-centric and shows a small search app built with Backbone, RequireJS and tests in Mocha. Architecture: search view only announces events, a controller routes them to collections, collections fetch server data and views update on collection events. Demo on GitHub and running on NoJitsu. Claims this structure yields tiny, five-line tests, easier timestamp deduplication for recent searches, and far cleaner, more testable code.

AI-written summary · about

  1. 0:00Introduction
  2. 2:19The role of jQuery
  3. 4:45Limits of jQuery
  4. 7:31Client-side MVC
  5. 11:53Modularizing with RequireJS
  6. 14:41Application architecture
  7. 17:30Implementing with Backbone
  8. 25:43Testing and conclusion
~/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.