JavaScript with Promises e-bog
108,68 DKK
(inkl. moms 135,85 DKK)
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...
E-bog
108,68 DKK
Forlag
O'Reilly Media
Udgivet
1 juni 2015
Længde
94 sider
Genrer
Computer programming / software engineering
Sprog
English
Format
epub
Beskyttelse
LCP
ISBN
9781491930748
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