Comet and Reverse Ajax: The Next-Generation Ajax 2.0
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.

1111341471
Comet and Reverse Ajax: The Next-Generation Ajax 2.0
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.

24.99 In Stock
Comet and Reverse Ajax: The Next-Generation Ajax 2.0

Comet and Reverse Ajax: The Next-Generation Ajax 2.0

by Dennis McCarthy, Chris Crane
Comet and Reverse Ajax: The Next-Generation Ajax 2.0

Comet and Reverse Ajax: The Next-Generation Ajax 2.0

by Dennis McCarthy, Chris Crane

Paperback(1st ed.)

$24.99 
  • SHIP THIS ITEM
    In stock. Ships in 1-2 days.
  • PICK UP IN STORE

    Your local store may have stock of this item.

Related collections and offers


Overview

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.


Product Details

ISBN-13: 9781590599983
Publisher: Apress
Publication date: 10/06/2008
Series: FirstPress
Edition description: 1st ed.
Pages: 100
Product dimensions: 7.30(w) x 9.10(h) x 0.40(d)

About the Author

Phil McCarthy has eight years of experience in information technology, using Java, various dynamic languages, web development, etc. in the fields of videogame development, telecoms, and banking.

Table of Contents

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.

From the B&N Reads Blog

Customer Reviews