JavaScript with Promises: Managing Asynchronous Code (1)
By:
Sign Up Now!
Already a Member? Log In
You must be logged into Bookshare to access this title.
Learn about membership options,
or view our freely available titles.
- Synopsis
- 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 threadingLearn how Promises organize callbacks into discrete steps that are easier to read and maintainExamine scenarios you’ll 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
- Copyright:
- 2015
Book Details
- Book Quality:
- Publisher Quality
- Book Size:
- 94 Pages
- ISBN-13:
- 9781491930748
- Related ISBNs:
- 9781449373214, 9781491930762, 9781491930793
- Publisher:
- O'Reilly Media
- Date of Addition:
- 02/06/25
- Copyrighted By:
- Daniel Parker
- Adult content:
- No
- Language:
- English
- Has Image Descriptions:
- No
- Categories:
- Nonfiction, Computers and Internet
- Submitted By:
- Bookshare Staff
- Usage Restrictions:
- This is a copyrighted book.