Asynchronous JavaScript is everywhere, whether youre using Ajax, AngularJS, Node.js, or WebRTC. This practical guide shows intermediate to advanced JavaScript developers how Promises can help you manage asynchronous code effectivelyincluding the inevitable flood of callbacks as your codebase grows. Youll learn the inner workings of Promises and ways to avoid difficulties and missteps when using them.The ability to asynchronously fetch data and load scripts in the browser broadens the capabilities of JavaScript applications. But if you dont understand how the async part works, youll wind up with unpredictable code thats difficult to maintain. This book is ideal whether youre new to Promises or want to expand your knowledge of this technology.Understand how async JavaScript works by delving into callbacks, the event loop, and threadingLearn how Promises organize callbacks into discrete steps that are easier to read and maintainExamine scenarios youll encounter and techniques you can use when writing real-world applicationsUse features in the Bluebird library and jQuery to work with PromisesLearn how the Promise API handles asynchronous errorsExplore ECMAScript 6 language features that simplify Promise-related code
Dieser Download kann aus rechtlichen Gründen nur mit Rechnungsadresse in A, B, BG, CY, CZ, D, DK, EW, E, FIN, F, GR, HR, H, IRL, I, LT, L, LR, M, NL, PL, P, R, S, SLO, SK ausgeliefert werden.