EventSource.... heh, cool.

by Developer @ pebbl.co.uk on Sunday, 10 July 2011

Ok, the amount of new browser abilities being added at the moment is quite astounding. Almost to the point of where it's rather annoying that I don't have the spare time to experiment. However, something that I think I will set aside time for is something that I've just read about on the "What's new" with FireFox v6 page.

  1. http://www.w3.org/TR/eventsource/
  2. http://hacks.mozilla.org/2011/06/a-wall-powered-by-eventsource-and-server-sent-events/

Now true, what is being suggested has always been achievable on a web page, I should know I've built a few js-based and flash-based messengers/communicators in my time. However, it was always quite a lot of work. By the looks of it this EventSource object would definitely simplify the client-side coding. May be I should dust off the v2 designs I had for DontShoot (my old flash based messenger)... :)

Ah... actually, scrub that. It looks like WebSockets might be back in FireFox 6 too! Nice... that should be far more flexible than just one way communication!

  1. http://net.tutsplus.com/tutorials/javascript-ajax/start-using-html5-websockets-today/
  2. http://hacks.mozilla.org/2011/05/aurora-6-is-here/

Leave your comment