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 The Myths of Innovation by Daniel  Parker
Cover of the book Appcelerator Titanium: Up and Running by Daniel  Parker
Cover of the book Programming Entity Framework: DbContext by Daniel  Parker
Cover of the book Hackers & Painters by Daniel  Parker
Cover of the book Building Wireless Sensor Networks by Daniel  Parker
Cover of the book Developing with Google+ by Daniel  Parker
Cover of the book Business Models for the Data Economy by Daniel  Parker
Cover of the book Hadoop: The Definitive Guide by Daniel  Parker
Cover of the book Building Polyfills by Daniel  Parker
Cover of the book Using Drupal by Daniel  Parker
Cover of the book A+, Network+, Security+ Exams in a Nutshell by Daniel  Parker
Cover of the book 802.11ac: A Survival Guide by Daniel  Parker
Cover of the book Mobile Design Pattern Gallery by Daniel  Parker
Cover of the book Magento: Das Handbuch für Entwickler by Daniel  Parker
Cover of the book .NET Gotchas 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