O'Reilly logo

Mastering Ember.js by Mitchel Kelonye

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Building Real-time Applications

Up until now, the applications we created did not require any real-time capabilities. However, today's modern applications strive to offer the best user experience through reduced page reloads, efficient data transfers, and improved performances. In addition, these applications might also need to send data and receive updates to and from the server as quickly as possible. There are a number of web technologies that can be used to accomplish this need:

  • Adobe Flash sockets
  • JSONP polling
  • XHR long polling
  • XHR multipart streaming
  • ActiveX HTMLFile
  • Web sockets
  • Server-sent events
  • WebRTC

In this chapter, we will learn how to use the Socket.io (http://socket.io) library, which enables bidirectional communication between ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required