Learning jQuery Deferreds

Learning jQuery Deferreds Taming Callback Hell With Deferreds and Promises

eBook (22 Jan 2014)

Not available for sale

Instant Download - PDF (with DRM)

- Read on your eReader, tablet, mobile, MAC or desktop PC.
- Currently not compatible with Amazon Kindle.
- PDF's require Adobe Digital Editions.


Asynchronous callback nightmares stalk JavaScript developers, both in their traditional hunting grounds in the browser and in their new territory on the server. The smart folks at jQuery have figured out better ways to deal with these terrors, building a new approach called Deferreds into their library. It works on both the client (of course!) and on the server (for the Node folks). Callbacks are added to Deferred objects corresponding to outstanding asynchronous calls. When the result of the asynchronous tasks become known, the callbacks are run. As a distinct object, with simple formal semantics for handling future results, Deferreds provide concise and flexible expressive power to programmers working with asynchronous events.

Book information

ISBN: 9781449369378
Publisher: O'Reilly
Imprint: O'Reilly
Pub date:
DEWEY: 005.2762
DEWEY edition: 23
Weight: -1g