The Real Time Web with XMPP
summary
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
chapters (12)
- 0:00Start
- 17:52var connection = new Strophe.Connection(URL)
- 19:05The connection callback
- 19:15connecting authenticating authentication failed connected disconnecting disconnected
- 21:07Display incoming messages
- 21:55Dealing with IQ stanzas
- 23:20Building stanzas
- 25:13Convenience functions
- 25:50Unchainable methods
- 31:08Plugins!
- 37:57XPath matching with Strophe
- 38:44The multi-session problem
related talks
20myouve-played-with-realtime-lets-do-it-properly.html License: For reuse of this video under a more permissive license please get in touch with us
43mRealtime Web Apps in the Wild
37mGetting Close with the Web
01h 18mThe future of chat
38mReal-time Communication on Mobile
51mBuilding Asynchronous Communication Layer w XMPP, Ruby, Javascript
29mWebSockets Bring Light at the End of the Tunnel
34mReal-Time Communication for Everyone
