• Open Daily: 10am - 10pm
    Alley-side Pickup: 10am - 7pm

    3038 Hennepin Ave Minneapolis, MN
    612-822-4611

Open Daily: 10am - 10pm | Alley-side Pickup: 10am - 7pm
3038 Hennepin Ave Minneapolis, MN
612-822-4611
JavaScript with Promises: Managing Asynchronous Code

JavaScript with Promises: Managing Asynchronous Code

Paperback

Programming

ISBN10: 1449373216
ISBN13: 9781449373214
Publisher: Oreilly Media
Published: Jul 14 2015
Pages: 92
Weight: 0.30
Height: 0.20 Width: 6.90 Depth: 9.20
Language: English

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

Also in

Programming