Learning jQuery Deferreds: Taming Callback Hell with Deferreds and Promises (Paperback)

Learning jQuery Deferreds: Taming Callback Hell with Deferreds and Promises (Paperback)

作者: Terry Jones Nicholas H. Tollervey
出版社: O'Reilly
出版在: 2014-01-06
ISBN-13: 9781449369392
ISBN-10: 1449369391
裝訂格式: Paperback
總頁數: 132 頁





內容描述


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 promisesGet a structured explanation of jQuery’s 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




相關書籍

揭秘 Angular, 2/e

作者 廣發證券互聯網金融技術團隊

2014-01-06

UML3 & XML3 物件導向 程式設計寶典 (舊名: UML3 & XML3 物件導向系統分析與設計)

作者 孫惠民

2014-01-06

智慧城市實戰攻略——移動互聯與大數據時代的城市變革

作者 李福亮 唐晟煒

2014-01-06