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 Designing for XOOPS by Daniel  Parker
Cover of the book Macintosh Terminal Pocket Guide by Daniel  Parker
Cover of the book The Customer-Driven Playbook by Daniel  Parker
Cover of the book Frontend Architecture for Design Systems by Daniel  Parker
Cover of the book RESTful Java with JAX-RS 2.0 by Daniel  Parker
Cover of the book Scrum kurz & gut by Daniel  Parker
Cover of the book Mastering Azure Analytics by Daniel  Parker
Cover of the book Learning Rails 3 by Daniel  Parker
Cover of the book XMPP: The Definitive Guide by Daniel  Parker
Cover of the book Intellectual Property and Open Source by Daniel  Parker
Cover of the book RESTful Web APIs by Daniel  Parker
Cover of the book Developing BlackBerry Tablet Applications with Flex 4.5 by Daniel  Parker
Cover of the book Programming SQL Server 2005 by Daniel  Parker
Cover of the book PThreads Programming by Daniel  Parker
Cover of the book Web Operations 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