本站提供 8500 多本免费的 IT 技术电子书在线下载。
  1. 文章总数:8391
  2. 浏览总数:1,545,080
  3. 评论:0
  4. 分类目录:125 个
  5. 注册用户数:31
  6. 最后更新:2020年2月29日
过往记忆博客公共帐号iteblog_hadoop
欢迎关注微信公共帐号:
iteblog_hadoop

JavaScript with Promises

JavaScript iteblog 192℃ 0评论
JavaScript with Promises
作者:
Daniel Parker
ISBN-10:
1449373216
出版年份:
2015
页数:
94
语言:
English
文件大小:
2.06 MB
文件格式:
PDF

图书描述

Asynchronous JavaScript is everywhere, whether you’re using Ajax, AngularJS, Node.js, or WebRTC. This practical guide shows intermediate to advanced JavaScript developers how Promises can help you manage asynchronous code effectively—including the inevitable flood of callbacks as your codebase grows. You’ll 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 don’t understand how the async part works, you’ll wind up with unpredictable code that’s difficult to maintain. This book is ideal whether you’re 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 threading
Learn how Promises organize callbacks into discrete steps that are easier to read and maintain
Examine scenarios you’ll encounter and techniques you can use when writing real-world applications
Use features in the Bluebird library and jQuery to work with Promises
Learn how the Promise API handles asynchronous errors
Explore ECMAScript 6 language features that simplify Promise-related code

点击进入下载

喜欢 (0)or分享 (0)
发表我的评论
取消评论

表情
本博客评论系统带有自动识别垃圾评论功能,请写一些有意义的评论,谢谢!