O'Reilly logo

Comet and Reverse Ajax: The Next-Generation Ajax 2.0 by Dave Crane, Phil McCarthy

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 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 ...

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