~/talk

Flight.js

Talkat JSConf US 2013 · 2013-05-28..05-30· [javascript, frontend-architecture]
slides:none on file

Flight is a tiny component layer that runs all of twitter.com and most of TweetDeck and has been battle‑tested for about a year. Each component maps to a single DOM node, manipulates that node, and communicates only by firing and listening to DOM events — leveraging event bubbling for decoupled communication. Data logic lives in separate components, and tests use flight‑jasmine to give a fresh instance per spec so components are easy to unit test and compose.

AI-written summary · about

  1. 0:00Start
  2. 5:53Necessary complexity
  3. 6:05Adding features means adding to the mental overhead of understanding the app
  4. 7:39Flight aims to completely decouple our application components
  5. 8:17Components have a simple contract with the outside world
  6. 10:03Make greater use of the DOM
  7. 10:45Inherent hierarchy
  8. 15:04Toggle
  9. 15:40Atomic components make for great tests
  10. 20:54Flight doesn't prescribe a templating engine, where you keep state or how you structure data
  11. 22:22Bring your own architecture
~/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.