Chapter 11. Real-Time Web Applications

In this chapter, we'll cover the following recipes:

  • Using dependency injection
  • Working with application initializers
  • Building a chat application
  • Creating and working with add-ons
  • Learning the Ember run loop

Introduction

As you level up with Ember, you'll learn how to work with real-time applications. In these types of applications, you'll be dealing with updates from a server. You'll need to be able to handle these events and notify the user as needed.

In Ember, we can use things such as dependency injection and services with WebSockets to handle real-time events from a server. We'll be looking at these concepts, including add-ons, in this chapter.

Get Ember.js Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.