JavaScript Promises Essentials Front Cover

JavaScript Promises Essentials

  • Length: 88 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2014-09-25
  • ISBN-10: 178398564X
  • ISBN-13: 9781783985647
  • Sales Rank: #4793913 (See Top 100 Books)
Description

Build fully functional web applications using promises, the new standard in JavaScript

About This Book

  • Integrate JavaScript Promises into your application by mastering the key concepts of the Promises API
  • Replace complex nested callbacks in JavaScript with the more intuitive chained Promises
  • Acquire the knowledge needed to start working with JavaScript Promises immediately

Who This Book Is For

If you are a JavaScript developer working with asynchronous operations and want to know more about promises, then this book is ideal for you. Having a detailed explanation of JavaScript promises will be perfect as your next step towards adopting this new standard and using the API in your web and JavaScript applications.

In Detail

Promises are a new programming paradigm in JavaScript that allow developers to request data that they don’t have yet and deal with it at a non-determined point in the future (asynchronously). Starting with the basics of the promise objects, we’ll be able to leverage the maximum capabilities of promises when writing applications.

This book starts by giving you some background information on the asynchronous programming model in JavaScript, recognizing its importance in JavaScript programming. It then walks you through the key concepts and intricacies of the Promises API. Following that, you will learn how you can write complex asynchronous operations with chained promises and be able to catch and handle exceptions. With this book, you’ll learn how to write better asynchronous operations using JavaScript promises.

Table of Contents

Chapter 1. JavaScript Promises – Why Should I Care?
Chapter 2. The Promise API and Its Compatibility
Chapter 3. Chaining of Promises
Chapter 4. Error Handling
Chapter 5. Promises in WinJS
Chapter 6. Putting It All Together – Promises in Action

To access the link, solve the captcha.