O'Reilly logo

PHP Ajax Cookbook by R. Rajesh Jeba Anbiah, Roshan Bhattarai, Milan Sedliak

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

Implementing comet PHP and Ajax

In traditional client-server communication over HTTP, for every response from a server, a request is made by the client. In other words, there is no response without a request.

Implementing comet PHP and Ajax

Comet, Ajax Push, Reverse Ajax, Two-way-web, HTTP Streaming, or HTTP server push are the collective terms used to refer to the implementation of instantaneous data changes pushed from the server. Unlike in traditional communication, here, the request from the client is made once and all the data/responses are pushed from the server—without further request calls from the client.

Through comet, we can create Ajax chat and other live applications. ...

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