Learning JQuery Deferreds

Learning JQuery Deferreds

Taming Callback Hell with Deferreds and Promises

by Terry Jones, Nicholas H. Tollervey

132 pages· 2013· ISBN 9781449369378
About
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

Discuss Learning JQuery Deferreds with other readers

Join or start a book club for Learning JQuery Deferreds on Readfeed. Live chat, shared reading progress, and AI discussion questions — free to get started.

Frequently asked questions

How do I join a book club for Learning JQuery Deferreds?

Sign up free on Readfeed, then browse public clubs or start your own club with Learning JQuery Deferreds as the current read. Invite friends with a share link and discuss together with live chat and AI discussion questions.

Can I discuss Learning JQuery Deferreds with other readers online?

Yes. Readfeed book clubs let you chat live, share progress, and join discussions about Learning JQuery Deferreds with readers worldwide — whether your club is virtual, in-person, or hybrid.

Is Readfeed free?

Yes. Creating an account and joining book clubs is free. Sign up to find readers who love the same books and start discussing today.