JavaScript with Promises
Managing Asynchronous Code
Publisher: O'Reilly Media
Final Release Date: June 2015
Pages: 94

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
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyJavaScript with Promises
 
5.0

(based on 2 reviews)

Ratings Distribution

  • 5 Stars

     

    (2)

  • 4 Stars

     

    (0)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

Reviewed by 2 customers

Displaying reviews 1-2

Back to top

 
5.0

Very useful and interesting

By Ruwan

from Colombo, Sri Lanka

About Me Developer

Verified Reviewer

Pros

  • Accurate
  • Concise
  • Easy to understand
  • Helpful examples
  • Well-written

Cons

    Best Uses

    • Intermediate
    • Novice
    • Student

    Comments about oreilly JavaScript with Promises:

    When It comes to JavaScript development, people get stuck in "Callback Hell", so I highly recommend this book for conquering the CallBack Hell using promises.

    (1 of 1 customers found this review helpful)

     
    5.0

    The Books is Great

    By Edwin Dalorzo

    from Costa RIca

    About Me Developer

    Verified Reviewer

    Pros

    • Accurate
    • Concise
    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

    • Not comprehensive enough
    • Too basic

    Best Uses

    • Intermediate

    Comments about oreilly JavaScript with Promises:

    I just finished reading this book and I think it is great. It is full of really good examples, easy to try and very smart suggestions and ideas.

    I really like that it covers ES6 and a few other libraries with plenty of examples on how to use them.

    Displaying reviews 1-2

    Back to top

     
    Buy 2 Get 1 Free Free Shipping Guarantee
    Buying Options
    Immediate Access - Go Digital what's this?
    Ebook:  $16.99
    Formats:  DAISY, ePub, Mobi, PDF
    Print & Ebook:  $21.99
    Print:  $19.99