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 Microsoft Project 2010: The Missing Manual by Daniel  Parker
Cover of the book What Is Data Science? by Daniel  Parker
Cover of the book Resilience and Reliability on AWS by Daniel  Parker
Cover of the book Python Cookbook by Daniel  Parker
Cover of the book The Enterprise Cloud by Daniel  Parker
Cover of the book Twisted Network Programming Essentials by Daniel  Parker
Cover of the book Responsive Typography by Daniel  Parker
Cover of the book Cassandra: The Definitive Guide by Daniel  Parker
Cover of the book Designing and Developing for Google Glass by Daniel  Parker
Cover of the book Learning from jQuery by Daniel  Parker
Cover of the book Java Examples in a Nutshell by Daniel  Parker
Cover of the book Programming ASP.NET AJAX by Daniel  Parker
Cover of the book Perl Cookbook by Daniel  Parker
Cover of the book Learning XSLT by Daniel  Parker
Cover of the book BioCoder #8 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