Comet and Reverse Ajax
Author | : Dennis McCarthy |
Publisher | : Apress |
Total Pages | : 142 |
Release | : 2009-03-28 |
ISBN-10 | : 9781430208648 |
ISBN-13 | : 1430208643 |
Rating | : 4/5 (643 Downloads) |
Download or read book Comet and Reverse Ajax written by Dennis McCarthy and published by Apress. This book was released on 2009-03-28 with total page 142 pages. Available in PDF, EPUB and Kindle. Book excerpt: One of the most basic laws of a web application is that the client, not the server, must initiate any communication between the two. There are a number of common–use cases where, ideally, the server would like to talk to the client—dashboards and monitoring apps, chat rooms and other collaborations, and progress reports on long–running processes. Comet (a.k.a. Reverse Ajax) provides a mechanism for enabling this. Comet is moderately complex to implement. But this practical, hands–on book gets you going. In Part 1 of this book, we start by examining the use cases, and look at the simple alternatives to Comet and how far they can satisfy your needs. In some situations, though, only Comet will do. In Part 2, we demonstrate how to set up and run a Comet–based application. With this book, be a part of the next generation, Ajax 2.0.