Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Comet and Reverse Ajax: The Next-Generation Ajax 2.0 (Firstpress)

Buy
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 is this book for?

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

About the Author

Dave Crane has 10 years+ in IT, using Java, PHP, Python, UNIX, etc. in the fields of digital TV, banking, and sustainable development. He is also a best–selling author of several Ajax books in the industry.

Phil McCarthy has 8 years in IT, using Java, various dynamic languages, web development, etc. in the fields of videogame development, telecoms, and banking.

(HTML tags aren't allowed.)

Make a 2D RPG in a Weekend: With RPG Maker VX Ace
Make a 2D RPG in a Weekend: With RPG Maker VX Ace

Make a 2D RPG in a Weekend shows you how to create your very own dungeon crawler game in RPG Maker VX Ace in a single weekend. The entire process, from start to finish, is covered within this book. You will see a variety of dungeon maps and events, all broken down for your convenience.

One of the hardest parts of game...

Challenges for Game Designers
Challenges for Game Designers
Welcome to a book written to challenge you, improve your brainstorming abilities, and sharpen your game design skills! Challenges for Game Designers: Non-Digital Exercises for Video Game Designers is filled with enjoyable, interesting, and challenging exercises to help you become a better video game designer, whether you are a professional or...
Advanced C and C++ Compiling
Advanced C and C++ Compiling

Learning how to write C/C++ code is only the first step. To be a serious programmer, you need to understand the structure and purpose of the binary files produced by the compiler: object files, static libraries, shared libraries, and, of course, executables.

Advanced C and C++ Compiling explains the build process in
...


The Well Timed Strategy: Managing the Business Cycle for Competitive Advantage
The Well Timed Strategy: Managing the Business Cycle for Competitive Advantage

Most companies ignore one of their best opportunities for honing competitive advantage: the opportunity to proactively manage business cycles and macroeconomic turbulence. Despite the profound impact that the business cycle has on the fortunes and fate of so many businesses large and small--and the employees and investors...

Photoshop Elements 2 Face Makeovers: Digital Makeovers for Your Friends and Family
Photoshop Elements 2 Face Makeovers: Digital Makeovers for Your Friends and Family

Bored with your family snapshots? Ugly friends?

We'll show you how to harness the power of Photoshop Elements 2 to subtly improve or distort them beyond all recognition as you see fit!

Packed full of creative, fun ideas, each explained with step-by-step tutorials, and with all the source files on the accompanying CD,...

Introduction to Differential Calculus: Systematic Studies with Engineering Applications for Beginners
Introduction to Differential Calculus: Systematic Studies with Engineering Applications for Beginners

Enables readers to apply the fundamentals of differential calculus to solve real-life problems in engineering and the physical sciences

Introduction to Differential Calculus fully engages readers by presenting the fundamental theories and methods of differential calculus and then showcasing how the discussed concepts can be...

©2019 LearnIT (support@pdfchm.net) - Privacy Policy