This was a presentation I gave in MadridJS November 2, 2011.
To see the minimalist slides open index.html (made with Big JS https://github.com/tmcw/big)
The meaty part of the presentation is in the examples dir.
In the presentation the examples were shown in this order:
- long.html
- long.js
- $ node long.js
- handshake.md
- ws.html
- ws.js
- $ node ws.js
- event-stream.md
- es.html
- es.js
- $ node es.js
For a fully hosted EventSource service, check http://www.eventsourcehq.com
From there you'll also find an open source, powerful, scalable bridge between RabbitMQ and EventSource implemented in Haskell.
Cheers, Mathias