JavaScript with Promises: Managing Asynchronous Code - Couverture souple

Parker, Daniel

 
9781449373214: JavaScript with Promises: Managing Asynchronous Code

Synopsis

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

Les informations fournies dans la section « Synopsis » peuvent faire référence à une autre édition de ce titre.

À propos de l?auteur

Daniel Parker is a software developer focused on web and mobile applications. He writes JavaScript for Evernote in Austin, Texas and is the organizer of the Austin Google Developer Group.

Les informations fournies dans la section « A propos du livre » peuvent faire référence à une autre édition de ce titre.

Autres éditions populaires du même titre

9789352131358: JavaScript With Promises: Managing Asynchronous Code

Edition présentée

ISBN 10 :  9352131355 ISBN 13 :  9789352131358
Couverture souple