Preview "Node.js Design Patterns" in a new window.

Node.js Design Patterns

Book Description

Key FeaturesGain a deep understanding of the Node.js philosophy, its core components, and the solutions in its ecosystemAvoid common pitfalls in applying proven patterns to create robust, maintainable Node.js applicationsEnhance your development skills through a wealth of real-world examples and case studiesBook DescriptionNode.js underpins much of modern web development, reliably powering APIs and full-stack apps across all industries. Authors Luciano Mammino and Mario Casciaro offer a practical guide that unpacks the JavaScript runtime so you can write reliable, high-performance Node.js apps.Building on the highly rated third edition, this new edition adds fresh case studies and the latest Node.js developments: newer APIs and libraries, ESM improvements, practical security and production tips, and guidance on using Node.js with TypeScript. It also introduces a new chapter on testing that gives you a full introduction to testing philosophy and practical guidance on writing unit, integration, and end-to-end tests, giving you the confidence to write functional, stable, and reliable code.Real-world, end-to-end examples throughout the book show how to build microservices and distributed systems with Node.js, integrating production-proven technologies such as Redis, RabbitMQ, LevelDB, and ZeroMQ, the same components you’ll find in scalable deployments at companies of all sizes. End-of-chapter exercises consolidate your understanding.By the end of this Node.js book, you’ll have the design patterns, mindset, and hands-on skills every serious Node.js professional needs to confidently architect robust, efficient, and maintainable applications.What you will learnUnderstand Node.js basics and its async event-driven architectureWrite correct async code using callbacks, promises, and async/awaitHarness Node.js streams to create data-driven processing pipelinesImplement trusted software design patterns for production-grade applicationsWrite testable code and automated tests (unit, integration, E2E)Use advanced recipes: caching, batching, async init, offload CPU-bound workBuild and scale microservices and distributed systems powered by Node.jsWho this book is for

This book is for you if you’re a developer or software architect with basic knowledge of JavaScript and Node.js and want to get the most out of these technologies to maximize productivity, design quality, and scalability. It’ll help you level up from junior to senior roles.This book is a tried-and-tested reference guide for readers at all levels. Even those with more experience will find value in the more advanced patterns and techniques presented.You’re expected to have an intermediate understanding of web application development, databases, and software design principles.



In The Press


About the Author


Read on Your Favourite Devices

to find out more



Ebook Permissions

to find out more

About this Ebook

File formats
This ebook is available in:
The publisher has not yet supplied format information.
Pre-order formats shown are based on publisher intent and may change before release.
File sizes shown are an approximation. The actual download size will vary based on the application you use to read the book.
Publisher
Published
; Copyright:
ISBNs
Title
Series
Author
;
Edition
Imprint
Language
Number of Pages
Page count shown is an approximation provided by the publisher. The actual page count will vary based on various factors such as your device's screen size and font-size.