๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

Modern Asynchronous JavaScript

โœ Scribed by Faraz K. Kelhini


Publisher
Pragmatic Bookshelf
Year
2021
Tongue
English
Edition
1
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


JavaScript today must interact with data-intensive APIs and networks. The solution is a program that can work asynchronously instead of finishing tasks in order. In modern JavaScript, instead of callbacks you'll use promises to improve your application's performance and responsiveness. JavaScript features introduced in ES2020, ES2021, and ESNext like Promise.allSettled(), Promise.any(), and top-level await help you develop small, fast, low-profile applications. With the AbortController API, cancel a pending async request before it has completed. Modern Asynchronous JavaScript gives you an arsenal of tools to build programs that always respond to user requests, recover quickly from difficult conditions, and deliver maximum performance.

Applications today must work with information on remote servers, and users expect a quick response to complex interactions at all times, whether on a high-speed 5G cellular network or slow public WiFi. JavaScript provides developers with advanced tools to coordinate the asynchronous parts of their code efficiently and deliver responsive programs. Faster applications equal happier users, which is the promise of asynchronous JavaScript.

With Modern Asynchronous JavaScript you'll learn techniques for managing your async code. Features like ES2021 Promise.any() allow you to safeguard your async code from external issues that are out of your control like server downtime. You'll discover secret weapons like top-level await to initialize resources, define dependency paths dynamically, and load dependencies with a fallback implementation. You'll even learn to how to set a time limit for async requests and react if they take too long to complete.

Fast, reliable applications are a must in today's world, where users demand increasingly greater amounts of data on mobile devices. Asynchronous programming may require more cautious planning than synchronous programming but the outcome is rewarding. Asynchronous JavaScript allows you to write code that is nimble but reliable, leading to programs that load faster, respond quicker, and most importantly that you can trust to function properly.

What You Need:

You'll need an intermediate level of JavaScript programming skills and a browser that supports features from ES2020, ES2021, and ESNext.

โœฆ Subjects


JavaScript; Asynchronous; Asynchronous Execution; Promises; ES2020; ES2021; ESNext


๐Ÿ“œ SIMILAR VOLUMES


JavaScript with Promises: Managing Async
โœ Daniel Parker ๐Ÿ“‚ Library ๐Ÿ“… 2015 ๐Ÿ› O'Reilly Media ๐ŸŒ English

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 gro

Exploring Online Learning Through Synchr
โœ Cynthia Mary Sistek-Chandler ๐Ÿ“‚ Library ๐Ÿ“… 2019 ๐Ÿ› IGI Global ๐ŸŒ English

<p>Exploring online learning through the lens of synchronous and asynchronous instructional methods can be beneficial to the online instructor and to the course designer. Understanding the underlying theoretical foundation is essential to justify both types of instructional pedagogies. Learning theo

AJAX: Creating Web Pages with Asynchrono
โœ Edmond Woychowsky ๐Ÿ“‚ Library ๐Ÿ“… 2006 ๐Ÿ› Prentice Hall ๐ŸŒ English

<P style="MARGIN: 0px"><B>The Easy, Example-Based Guide to Ajax for E<I>very</I> Web Developer</B></P> <P style="MARGIN: 0px"><B>ย </B></P> <P style="MARGIN: 0px" align=left text-align="left">Using Ajax, you can build Web applications with the sophistication and usability of traditional desktop</P>

AJAX: Creating Web Pages with Asynchrono
โœ Edmond Woychowsky ๐Ÿ“‚ Library ๐Ÿ“… 2006 ๐Ÿ› Prentice Hall ๐ŸŒ English

I tried to read this book, but gave up after the first few chapters. There MAY be actual useful and relevant information in later chapters, but judging by the amount of text devoted to opinionated rants and tiresome attempts at humor, and the otherwise belabored discussion of precursor or peripheral