Learning jQuery Deferreds

豆瓣
Learning jQuery Deferreds

登入後可管理標記收藏

ISBN: 9781449369392
作者: Terry Jones / Nicholas H. Tollervey
出版社: O'Reilly Media
發行時間: 2014 -1
價格: USD 29.99
頁數: 132

/ 10

0 個評分

評分人數不足
借閱或購買

Taming Callback Hell with Deferreds and Promises

Terry Jones / Nicholas H. Tollervey   

簡介

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. You’ll 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

短評
評論
筆記