Over 10 mio. titler Fri fragt ved køb over 499,- Hurtig levering Forlænget returret til 31/01/25

JavaScript with Promises

- Managing Asynchronous Code

  • Format
  • E-bog, PDF
  • Engelsk
  • 94 sider
E-bogen er DRM-beskyttet og kræver et særligt læseprogram

Beskrivelse

Asynchronous JavaScript is everywhere, whether youre using Ajax, AngularJS, Node.js, or WebRTC. This practical guide shows intermediate to advanced JavaScript developers how Promises can help you manage asynchronous code effectivelyincluding the inevitable flood of callbacks as your codebase grows. Youll 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 dont understand how the async part works, youll wind up with unpredictable code thats difficult to maintain. This book is ideal whether youre 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 threadingLearn how Promises organize callbacks into discrete steps that are easier to read and maintainExamine scenarios youll encounter and techniques you can use when writing real-world applicationsUse features in the Bluebird library and jQuery to work with PromisesLearn how the Promise API handles asynchronous errorsExplore ECMAScript 6 language features that simplify Promise-related code

Læs hele beskrivelsen
Detaljer
  • SprogEngelsk
  • Sidetal94
  • Udgivelsesdato01-06-2015
  • ISBN139781491930793
  • Forlag O'Reilly Media
  • FormatPDF

Findes i disse kategorier...

Se andre, der handler om...

Machine Name: SAXO080