|
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
|
|
|
Introduction to Econometrics, 2nd Edition (Addison-Wesley Series in Economics)
Designed for a first course in introductory econometrics, Introduction to Econometrics, reflects modern theory and practice, with interesting applications that motivate and match up with the theory to ensure students grasp the relevance of econometrics. Authors James H. Stock and Mark W. Watson integrate real-world questions... | | Bridge and Highway Structure Rehabilitation and Repair
State-of-the-Art Bridge and Highway Rehabilitation and Repair Methods
This authoritative volume offers up-to-date guidance on the latest design techniques, repair methods, specialized software, materials, and advanced maintenance procedures for bridges and highway structures. Focusing on both traditional and nontraditional design... | | MORE Electronic Gadgets for the Evil Genius: 40 NEW Build-it-Yourself ProjectsThis much anticipated follow-up to the wildly popular cultclassic Electronic Gadgets for the Evil Genius gives basement experimenters 40 all-new projects to tinker with. Following the tried-and-true Evil Genius Series format, each project includes a detailed list of materials, sources for parts, schematics, documentation, and lots of clear,... |
|