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 Java RMI by Daniel  Parker
Cover of the book Learning Agile by Daniel  Parker
Cover of the book Developing Android Applications with Flex 4.5 by Daniel  Parker
Cover of the book Microsoft Project 2007: The Missing Manual by Daniel  Parker
Cover of the book Sendmail by Daniel  Parker
Cover of the book Enterprise Development with Flex by Daniel  Parker
Cover of the book Designing Data Visualizations by Daniel  Parker
Cover of the book Mobile JavaScript Application Development by Daniel  Parker
Cover of the book Excel 2010: The Missing Manual by Daniel  Parker
Cover of the book Protecting Your Mobile App IP: The Mini Missing Manual by Daniel  Parker
Cover of the book Test-Driven Development with Python by Daniel  Parker
Cover of the book Building Isomorphic JavaScript Apps by Daniel  Parker
Cover of the book Think Bayes by Daniel  Parker
Cover of the book Programming for PaaS by Daniel  Parker
Cover of the book Commercial Photoshop Retouching: In the Studio 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