咨询与建议

看过本文的还看了

相关文献

该作者的其他文献

文献详情 >JavaScript with Promises 收藏

JavaScript with Promises

版本说明:1

作     者:Daniel Parker 

I S B N:(纸本) 1449373216;9781449373214 

出 版 社:O'Reilly Media 

出 版 年:2015年

主 题 词:promises javascript 

摘      要:Asynchronous JavaScript is everywhere, whether youre using Ajax, AngularJS, ***, 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 *** 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 *** 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

读者评论 与其他读者分享你的观点

用户名:未登录
我的评分