
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.
With this book, be a part of the next generation, Ajax 2. 0.
Inhaltsverzeichnis
What is Comet? . - The trouble with HTTP. - Some Common Use Cases. - How to Achieve Push. -Polling. - Piggy-backing. - Comet. - Raw Sockets. - Comparison & Evaluation. - Worked Example : Magnetic Poetry. -Issues & Techniques. - The two-request limit. - Pub-sub and server architectures. - Continuations versus naive Comet. - Implementations of Comet. - Cometd & Bayeux. - Reverse Ajax in DWR. - DWR worked example.
Es wurden noch keine Bewertungen abgegeben. Schreiben Sie die erste Bewertung zu "Comet and Reverse Ajax" und helfen Sie damit anderen bei der Kaufentscheidung.