Join thousands of book lovers
Sign up to our newsletter and receive discounts and inspiration for your next reading experience.
By signing up, you agree to our Privacy Policy.You can, at any time, unsubscribe from our newsletters.
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, youll 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 promisesGet a structured explanation of jQuerys deferred APIDelve into the dynamics of using deferredsExplore a broad collection of useful deferred recipes developed by the authorsGain hands-on experience by solving challenges that accompany each recipeGo deeper into deferreds: encounter novel abstractions and mind-bending use cases
Three raindrops have an argument on their way out of a cloud ...A silly King goes for a walk with a dog tied to each leg ...An enterprising herring, bored of the North Sea, decides to swim right round the world. This book contains thirty short stories of magic and adventure.
Sign up to our newsletter and receive discounts and inspiration for your next reading experience.
By signing up, you agree to our Privacy Policy.