Comet and Reverse Ajax and over 1.5 million other books are available for Amazon Kindle . Learn more


or
Sign in to turn on 1-Click ordering.
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Colour:
Image not available

 
Start reading Comet and Reverse Ajax on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Comet and Reverse Ajax: The Next Generation Ajax 2.0 [Paperback]

Dave Crane , Phil McCarthy

RRP: £15.99
Price: £13.59 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £2.40 (15%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon. Gift-wrap available.
Want delivery by Monday, 20 May? Choose Express delivery at checkout. See Details

Formats

Amazon Price New from Used from
Kindle Edition £12.23  
Paperback £13.59  
Amazon.co.uk Trade-In Store
Did you know you can trade in your old books for an Amazon.co.uk Gift Card to spend on the things you want? Visit the Books Trade-In Store for more details. Learn more.

Book Description

31 Oct 2008

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.

What you’ll learn

  • Find out what Comet is and the trouble with HTTP.
  • See how to achieve push, polling, piggy-backing, raw sockets, and more.
  • Explore some common use cases and a worked example on "magnetic poetry."
  • Understand what some issues and techniques are including the two-request limit, pub-sub and server architectures, and continuations vs. native Comet.
  • Use implementations of Comet, including Cometd/Bayeaux, Reverse Ajax in DWR, and more.
  • Work through the final example using DWR Framework.

Who this book is for

This firstPress title is for Ajax developers who are intrigued by Comet/Reverse Ajax, key to the next generation Ajax 2.0.


Customers Who Bought This Item Also Bought


Product details


Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Table of Contents | Excerpt
Search inside this book:

Customer Reviews

There are no customer reviews yet on Amazon.co.uk.
5 star
4 star
3 star
2 star
1 star
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 4.0 out of 5 stars  2 reviews
4 of 4 people found the following review helpful
3.0 out of 5 stars A little outdated 20 Mar 2009
By Trevor Burnham - Published on Amazon.com
Format:Paperback|Amazon Verified Purchase
The authors do an excellent job of illustrating the "Comet" process here: Keeping an HTTP request open so that the client can continue to receive content from the server continuously, rather than having to repeatedly query the server for Ajax content. They describe the advantages and potential pitfalls in a good amount of depth without becoming overly detailed for programmers working with a Java framework like Grails. They talk especially about DWR, a fine framework that takes care of the details of Comet and can be easily used in conjunction with other web frameworks.

But before you invest in this book, you should be aware of two things: It's very short (like all of the Firstpress books) and only talks about DWR 2.0, while the cutting edge is DWR 3.0. Also, you should think about whether you really need Comet in order to do what you're doing; for most purposes, ordinary Ajax is fine. If you're trying to learn Comet in depth, the DWR documentation is a better resource. And if you're intent on learning Comet quickly, the eBook version of this book might be a better buy.
1 of 1 people found the following review helpful
5.0 out of 5 stars Easy read and understanding 21 Dec 2008
By Mostafa farghaly - Published on Amazon.com
Format:Paperback
I've found this book very valuable source written by smart developers, It illustrate Comet aka reverse ajax 2.0 step by step and wrap my mind around all the problems and solutions during comet apps development. Comet is still immature technology but once you read the book you can apply it today in your web apps and achieve collaboration and real-time notification apps using the same technologies you use every day in your job in addition to some HTTP and XHR hacks , although the application ( Magnetic poetry )used to illustrate the technology isnot real world but it succeed in showing how to implement poll, push and biggybacking , long polling and Comet very easy , The rest of the book illustrate using server frameworks like DWR for easy comet , although iam a PHP fan i could apply all DWR concepts easy , then illustrate DoJo comet client-side framework and bayuex protocol , and end up with magnetic poetry appplication using all the techniques in the book , i recommend this book for all front-end engineers :)
Were these reviews helpful?   Let us know

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!

Create a Listmania! list

Look for similar items by category


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges