Home » Web Development » JavaScript with Promises

JavaScript with Promises

JavaScript with Promises

  • Author : Daniel Parker
  • Year : 2015
  • Pages : 94
  • File size : 2.06 MB
  • File format : PDF
  • Category : Web development, JavaScript

Book Description:

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

Download eBook


eBooks in the same categorie :

ASP.NET 2.0 Unleashed

Download free ASP.NET 2.0 Unleashed eBook in PDF

ASP.NET 2.0 Unleashed is a revision of the best-selling ASP.NET Unleashed, by Microsoft Software Legend Stephen Walther. It covers virtually all featu

PHP Ajax Cookbook

Download free PHP Ajax Cookbook eBook in PDF

This book contains a collection of recipes with step-by-step directions to build SEO-friendly websites using standard Ajax tools. Each recipe contains

JavaScript JSON Cookbook

Download free JavaScript JSON Cookbook eBook in PDF

JSON (JavaScript Object Notation) is a lightweight text-based data interchange format used to create objects to transfer data over the Internet. It

JavaScript Next

Download free JavaScript Next eBook in PDF

JavaScript has finally grown up. Armed with a slew of new features, JavaScript now makes writing the code that powers your applications elegant, conci

Effective JavaScript

Download free Effective JavaScript eBook in PDF

In order to truly master JavaScript, you need to learn how to work effectively with the language’s flexible, expressive features and how to avoid it

JavaScript Concurrency

Download free JavaScript Concurrency eBook in PDF

JavaScript has evolved to adopt concurrent capabilities?one of the reasons why it is still at the forefront of modern web development. This book helps

Deep Learning with JavaScript

Download free Deep Learning with JavaScript eBook in PDF

Deep learning has transformed the fields of computer vision, image processing, and natural language applications. Thanks to TensorFlow.js, now JavaScr

Mastering JavaScript

Download free Mastering JavaScript eBook in PDF

JavaScript is a high-level, dynamic, untyped, lightweight, and interpreted programming language. Along with HTML and CSS, it is one of the three essen