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. This book is ideal whether you’re new to Promises or want to expand your knowledge of this technology.
If you're a developer moving to an environments that make heavy use of asynchronous APIs, such as Node, WinRT, or Chrome packaged apps, this book teaches you how to make use of promise constructs. JavaScript routinely supports asynchronous code, calling a function with no expectation of when a response might come back. Unfortunately, writing code in that style is difficult for humans, and promises are a key tool for bridging that gap. This book shows you how to use these tools, and also demonstrates techniques that enable you to use features like IndexedDB or WebRTC.
Hinweis: Dieser Artikel kann nur an eine deutsche Lieferadresse ausgeliefert werden.
If you're a developer moving to an environments that make heavy use of asynchronous APIs, such as Node, WinRT, or Chrome packaged apps, this book teaches you how to make use of promise constructs. JavaScript routinely supports asynchronous code, calling a function with no expectation of when a response might come back. Unfortunately, writing code in that style is difficult for humans, and promises are a key tool for bridging that gap. This book shows you how to use these tools, and also demonstrates techniques that enable you to use features like IndexedDB or WebRTC.
Hinweis: Dieser Artikel kann nur an eine deutsche Lieferadresse ausgeliefert werden.