~/talk

Harden up your ajax!

slides:none on file

XHR-focused checklist for real-world Ajax: log errors via window.onerror or framework hooks (Angular $exceptionHandler), capture stacks with stacktrace.js, and return rich error objects (like Google Maps’ status+message) instead of opaque 500s. Avoid blind automatic retries (built a jQuery retry plugin but warns it double-bills unless services are idempotent). Handle connectivity with local queues (localStorage/IndexedDB, Firebase, Hoodie/PouchDB), involve UX for the Pink Hippo optimistic-update pattern, and surface clear UI state for timeouts and aborted requests.

AI-written summary · about

  1. 0:00Intro
  2. 0:23Reliability
  3. 1:01Ajax
  4. 3:44Demo
  5. 8:10Handling errors
  6. 9:49Status codes
  7. 10:45Errors
  8. 11:06Connectivity
  9. 11:54Dont do this
~/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.