JavaScript with Promises

Managing Asynchronous Code

Nonfiction, Computers, Programming, Programming Languages, CGI, JavaScript, Perl, VBScript, Internet, Web Development
Cover of the book JavaScript with Promises by Daniel  Parker, O'Reilly Media
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart
Author: Daniel Parker ISBN: 9781491930748
Publisher: O'Reilly Media Publication: June 1, 2015
Imprint: O'Reilly Media Language: English
Author: Daniel Parker
ISBN: 9781491930748
Publisher: O'Reilly Media
Publication: June 1, 2015
Imprint: O'Reilly Media
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
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart

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.

More books from O'Reilly Media

Cover of the book Learning JavaScript Design Patterns by Daniel  Parker
Cover of the book Building Products for the Enterprise by Daniel  Parker
Cover of the book C im 21. Jahrhundert by Daniel  Parker
Cover of the book Office 2013: The Missing Manual by Daniel  Parker
Cover of the book IRC Hacks by Daniel  Parker
Cover of the book QuickBooks 2005: The Missing Manual by Daniel  Parker
Cover of the book Optimizing Oracle Performance by Daniel  Parker
Cover of the book Designing and Programming CICS Applications by Daniel  Parker
Cover of the book The Internet: The Missing Manual by Daniel  Parker
Cover of the book What Is HTML5? by Daniel  Parker
Cover of the book iPhoto: The Missing Manual by Daniel  Parker
Cover of the book Enterprise JavaBeans 3.1 by Daniel  Parker
Cover of the book LDAP System Administration by Daniel  Parker
Cover of the book Database Reliability Engineering by Daniel  Parker
Cover of the book SDN: Software Defined Networks by Daniel  Parker
We use our own "cookies" and third party cookies to improve services and to see statistical information. By using this website, you agree to our Privacy Policy