Yeah, I’m going to talk about Opera 9 again, and about “secret” features. Since Opera 9, we’ve had support for “Server-Sent Events”:http://whatwg.org/specs/web-apps/current-work/#scs-server-sent from the Web Applications 1.0 spec. Quoting the entry we just “published”:http://my.opera.com/WebApplications/blog/show.dml/438711 in the Opera “Web Applications blog”:http://my.opera.com/webapplications/ ==
bq. One cool feature we added to Opera 9 is “Server-Sent Events”:http://whatwg.org/specs/web-apps/current-work/#scs-server-sent from the “WHATWG”:http://whatwg.org/ Web Applications 1.0 specification. Using SSE you can push DOM events continously from your web server to the visitor’s browser. This creates a lot of exciting opportunities for web application authors.
As an approach for building Ajax applications wanting near realtime data from the server, this approach is superior: No ugly hacks in the client-side code, just DOM events. After having added an @
.addEventListener("server-time", eventHandler, false);
// Alert time sent by the server
p. Easy, simple and clean. Which is the same on the server. We have built a neat little demo IRC-like “chat client”:http://oxzone.opera.com/webchat/ that is open for testing. The server is built on “Twisted”:http://twistedmatrix.com/, an event-driven networking framework written in Python. During initial testing we tried to put the server through pure, unadulterated load abuse, but were unable to bring it down, which says something about the advantages for this approach on the server as well.
What applications do _you_ see becoming a reality with SSE?