Node.js Design Patterns (4 Revised edition)
Level up your Node.js skills and design production-grade applications using proven techniques

By (author) Mario Casciaro,Luciano Mammino

ISBN13: 9781803238944

Imprint: Packt Publishing Limited

Publisher: Packt Publishing Limited

Format: Paperback / softback

Published: 29/09/2025

Availability: Available

Description
An essential read for any JavaScript developer - take full advantage of the Node.js platform and build reliable, scalable web applications using design patterns Purchase of the print or Kindle book includes a free eBook in PDF format Key Features Gain a deep understanding of the Node.js philosophy, its core components, and the solutions in its ecosystem Avoid common pitfalls in applying proven patterns to create robust, maintainable Node.js applications Enhance your development skills through a wealth of real-world examples and case studies Book DescriptionNode.js underpins much of modern web development, powering everything from APIs to full-stack applications. Authors Mario Casciaro, whose emergency management software is used in over 37 countries, and Luciano Mammino, an AWS Serverless Hero, Microsoft MVP, and international speaker, offer a thoughtful look at the platform to help you to put Node in context. This comprehensive guide uncovers what goes on under the hood and allows you to make the most of the JavaScript language and the Node runtime, making it a reliable reference for newer and more experienced developers alike. Building on the highly rated third edition, this new edition features fresh case studies and the latest Node.js developments, including the adoption of newer APIs and libraries, Web Streams, improvements in ESM modules, and tips on using Node with TypeScript. What’s more, this fourth edition brings a brand-new chapter on testing. Real-world examples throughout the book demonstrate Node.js in action with technologies such as Redis, RabbitMQ, LevelDB, and ZeroMQ, while end-of-chapter exercises consolidate your understanding. By the end of this Node.js book, you'll have mastered Node.js design patterns to architect robust, efficient, and maintainable applications confidently.What you will learn Deepen your understanding of Node's basics and its async event-driven architecture Master asynchronous coding techniques using callbacks, promises, and the async/await syntax Harness Node.js streams to create data-driven asynchronous processing pipelines Implement trusted software design patterns to create production-grade applications Write testable code and leverage the Node.js test runner to write automated tests Build and scale microservices and distributed systems powered by Node.js Who this book is forThis 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.
Table of Contents The Node.js Platform The Module System Callbacks and Events Asynchronous Control Flow Patterns with Callbacks Asynchronous Control Flow Patterns with Promises and Async/Await Coding with Streams Creational Design Patterns Structural Design Patterns Behavioral Design Patterns Testing Advanced Recipes Scalability and Architectural Patterns Messaging and Integration Patterns
  • Programming & scripting languages: general
  • Web services
  • General (US: Trade)
Height:
Width:
Spine:
Weight:0.00
List Price: £37.99