O'Reilly logo

AngularJS: Maintaining Web Applications by Amos Q. Haviv, Matt Frisbie, Chandermani, Rodrigo Branas

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

Lesson 8: Adding Real-time Functionality Using Socket.io

In previous Lessons, you learned how to build your MEAN application and how to create CRUD modules. These Lessons covered the basic functionalities of a web application; however, more and more applications require real-time communication between the server and browser. In this Lesson, you'll learn how to connect your Express and AngularJS applications in real time using the Socket.io module. Socket.io enables Node.js developers to support real-time communication using WebSockets in modern browsers and legacy fallback protocols in older browsers. In this Lesson, we'll cover the following topics:

  • Setting up the Socket.io module
  • Configuring the Express application
  • Setting up the Socket.io/Passport ...

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