Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (22 sloc) 626 Bytes

Comet Long Polling Example

This is a example of a comet long polling server in ruby, and a client for that server in JavaScript using the Prototype framework.

I wrote this for a presentation for the Shenandoah Ruby Users Group for a talk I gave there.

Talk notes

Real Time Web with Ruby

  • Live!

  • Pure HTML/JS on the Client Side

    • no need for Flash
  • Server in Ruby

  • Examples

    • Collecta
    • Chess.com
    • TOTALe
  • Techniques

    • Comet
    • BOSH
    • WebSockets
    • Gmail
  • XHR Restrictions

    • Start - Request - Response - End
Jump to Line
Something went wrong with that request. Please try again.