~/talk

The need for speed - Single-page apps, Optimistic UIs, Reactivity

Talkat dotJS 2013 · on Monday, 2013-12-02· [javascript, frontend-architecture]
slides:none on file

Argues single‑page apps plus optimistic UIs actually cut perceived latency and speed up development, shows concrete thresholds (0.1 to 1 second and >1s for spinners), and demonstrates a working sync layer called mydb (MongoDB backend) that keeps documents and session state synchronized across tabs so login/logout and uploads propagate live. Shows optimistic DOM rendering to eliminate spinners, gives a live demo of two sessions syncing, and credits socket.io and node.js as the realtime plumbing.

AI-written summary · about

  1. 0:00Intro
  2. 0:59Universally, speed is the most important factor that influences technological decisions
  3. 2:56The success of your app is directly correlated with its performance and responsiveness.
  4. 4:35Unique new opportunities for speed and the perception of speed
  5. 6:09Opportunity 1 Rendering a page's layout immediately
  6. 6:45The moment you press a key the page adopts the layout of the results page.
  7. 10:21By acting on the user input immediately, and rendering optimistically, spinners go away
  8. 13:45Opportunity 3 Synchronizing state. Data reactivity
~/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.