Book cover for Learning jQuery Deferreds: Taming Callback Hell with Deferreds and Promises by Terry Jones and Nicholas H Tollervey

Learning jQuery Deferreds

Taming Callback Hell with Deferreds and Promises

2014 Released
129 Pages
2-3 Hours
Ebook Unavailable
Audiobook Unavailable
Hardback Unavailable
O'Reilly Media ISBN 9781449369392

Orchestrating asynchronous function calls in JavaScript often leads to callback hell, but there is a reliable way to avoid this painful state of affairs. With this concise and simple guide, you'll learn how to use jQuery deferreds and promises, an elegant approach for managing asynchronous calls in both client and server applications.

This book contains 18 examples that use deferreds to solve progressively challenging real-world programming problems, along with 75 stimulating puzzles (and their solutions) that will help you understand how and when to use deferreds. Experienced JavaScript programmers will learn new tricks in a fun way, and become immersed in the practice of event-based programming.

  • Understand the logic behind creating deferreds and returning promises
  • Get a structured explanation of jQuery's deferred API
  • Delve into the dynamics of using deferreds
  • Explore a broad collection of useful deferred recipes developed by the authors
  • Gain hands-on experience by solving challenges that accompany each recipe
  • Go deeper into deferreds: encounter novel abstractions and mind-bending use cases

Nicholas H Tollervey

Nicholas is a classically trained musician, philosophy graduate, teacher, writer and software developer. He's just like this biography: concise, honest and full of useful information.

More by Nicholas H Tollervey

Why Readwise Books?

Readwise Books is an ebook & audiobook platform that automatically logs how much you and your friends read, making it fun and easy to read more. Learn more →