JavaScript with Promises. D. Parker

Описание

 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.

    \t
  • Understand how async JavaScript works by delving into callbacks, the event loop, and threading
  • \t
  •  Learn how Promises organize callbacks into discrete steps that are easier to read and maintain
  • \t
  •  Examine scenarios you’ll encounter and techniques you can use when writing real-world applications
  • \t
  •  Use features in the Bluebird library and jQuery to work with Promises
  • \t
  •  Learn how the Promise API handles asynchronous errors
  • \t
  •  Explore ECMAScript 6 language features that simplify Promise-related code

Схожие книги

Learning JavaScript:Learning JavaScript: JavaScript Essentials for Modern Application Development. 2017. E. Brown
JavaScript
en

Learning JavaScript:Learning JavaScript: JavaScript Essentials for Modern Application Development. 2017. E. Brown

Speaking JavaScript: An In-Depth Guide for Programmers. Axel Rauschmayer
JavaScript
en

Speaking JavaScript: An In-Depth Guide for Programmers. Axel Rauschmayer

Node.js 8 the Right Way: Practical, Server-Side JavaScript That Scales. Jim Wilson
JavaScript
en

Node.js 8 the Right Way: Practical, Server-Side JavaScript That Scales. Jim Wilson

React Quickly: Painless web apps with React, JSX, Redux, and GraphQL. A. Mardan
JavaScript
en

React Quickly: Painless web apps with React, JSX, Redux, and GraphQL. A. Mardan