Автор: Luis Atencio
Издательство: Manning Publications Co.
Год: 2020
Формат: true pdf/epub/mobi
Страниц: 277
Размер: 10.3 Mb
Язык: English
The Joy of jаvascript teaches you how to design jаvascript applications founded in sound computer science concepts and real-world industry success. First, you’ll get up close and personal with jаvascript’s object system. From there, you’ll dive into programming objects and functions. As you build various domain models, you’ll learn the pros and cons of techniques ranging from prototype-centered tightly coupled object configurations to loosely coupled delegation-based compositions. You’ll also explore ways of connecting objects with pure functions, and driving business logic with immutability and algebraic data types.
Using jаvascript’s shiny new module system and dynamically hooking into your data with Proxy and Reflect APIs, you’ll master tracing, logging, and performance trackers without having to modify your application components. You’ll also discover blockchain concepts as you develop pieces of a transaction management system. Along the way, you’ll explore topics like using jаvascript with different paradigms and how to overlay type information into jаvascript without having to switch to TypeScript. Illustrated, easy-to-grasp use cases and a hands-on peer-to-peer project lock in all you’ve learned, then take your learning further by showing you how to untangle complex asynchronous behaviors using promises, generators, and ES7 async-await syntax.