~/talk

The Real Time Web with XMPP

Talkat JSConf 2009 · 2009-04-24..04-25· [web-platform, javascript]
links:none on file
slides:none on file

Argues that low‑latency browser-to-server messaging is practical by using XMPP over HTTP long‑polling and shows working code and deployments: the JavaScript client Strophe, a BOSH connection manager (Punjab or built‑in ejabberd), and real sites like ChessPark, Speak and the Collecta real‑time search engine. Demonstrates presence, roster, IQ request/response, plugin extensibility, edge‑case XHR handling, multi‑session issues, and that latency matches desktop clients; claims production use for ~3.5 years and platform support including iPhone and Wii.

AI-written summary · about

  1. 0:00Start
  2. 17:52var connection = new Strophe.Connection(URL)
  3. 19:05The connection callback
  4. 19:15connecting authenticating authentication failed connected disconnecting disconnected
  5. 21:07Display incoming messages
  6. 21:55Dealing with IQ stanzas
  7. 23:20Building stanzas
  8. 25:13Convenience functions
  9. 25:50Unchainable methods
  10. 31:08Plugins!
  11. 37:57XPath matching with Strophe
  12. 38:44The multi-session problem
~/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.