or
Sign in to turn on 1-Click ordering.
or
Amazon Prime free trial required. Sign up when you check out. Learn more
More Buying Choices
Have one to sell? Sell yours here
Comet and Reverse Ajax: The Next Generation Ajax 2.0
 
 
Tell the Publisher!
I’d like to read this book on Kindle

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

Price: £15.99 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
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.co.uk. Gift-wrap available.
Want guaranteed delivery by Wednesday, May 30? Choose Express delivery at checkout. See Details
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? Plus, get an extra £5 Gift Certificate when you trade in books worth £10 or more before June 30, 2012. Visit the Books Trade-In Store for more details.

Product details


Product Description

Product Description

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.


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

Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organise and find favourite items.
Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

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:  2 reviews
3 of 3 people found the following review helpful
A little outdated 20 Mar 2009
By Trevor Burnham - Published on Amazon.com
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
Easy read and understanding 21 Dec 2008
By Mostafa farghaly - Published on Amazon.com
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 :)

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


Look for similar items by subject


Feedback


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