Features for Real-time Web apps
Safari five includes 2 new HTML5 options for real-time web apps, like Friendfeed and Twitter. WebSocket is that the initial, and EventSource is that the second. currently that 3 of the main browsers, Firefox, Chrome and expedition have enforced the WebSocket specification, writing real-time web apps victimization one thing like Node.js for a backend is turning into far more feasible.
WebSocket is actually a two-way line between your web app within the browser and also the server.
Since it’s 2 approach, you may write one thing sort of a Twitter consumer victimization it, and have new Twitter messages automatically seem as they’re pushed from the server, and additionally push new tweets up as they’re written.EventSource could be a one approach communication mechanism that permits the server to send events to the consumer however not the opposite way around. If you would like to find out a lot of regarding EventSource, scrutinize this tutorial.
- Extension Support
Because it’s written victimization these technologies, it’ll be attainable for somebody to put in writing a cross platform extension development library that works across Firefox (Jetpack), Chrome, and expedition five.