Orchestrating asynchronous function calls in Java Script 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 j Query 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 Java Script 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 j Querys deferred APIDelve 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
Terry Jones & Nicholas H. Tollervey
Learning jQuery Deferreds [EPUB ebook]
Taming Callback Hell with Deferreds and Promises
Learning jQuery Deferreds [EPUB ebook]
Taming Callback Hell with Deferreds and Promises
Buy this ebook and get 1 more FREE!
Language English ● Format EPUB ● Pages 132 ● ISBN 9781449369354 ● Publisher O’Reilly Media ● Published 2013 ● Downloadable 6 times ● Currency EUR ● ID 2869457 ● Copy protection Adobe DRM
Requires a DRM capable ebook reader