Chapter 2. Simple Ways to Achieve Push

In Chapter 1, we identified three common use cases that could benefit from using Comet. In this chapter, we'll cover some simple techniques that might address these use cases, without having to resort to Comet. In Chapter 3, you'll move on to look at simple implementations of Comet itself. If you want to really understand Comet, then you'll need to evaluate the alternatives and recognize the situations in which Comet is the best solution.

The Magnetic Poetry Application

As you're starting to delve into the nitty-gritty aspects of coding at this point, an example application would be useful. The application that you'll work with in this section (and through much of this book) is an online version of a magnetic ...

Get Comet and Reverse Ajax: The Next-Generation Ajax 2.0 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.