Node.js Design Patterns
Packt Publishing Limited (Verlag)
978-1-80323-894-4 (ISBN)
Purchase of the print or Kindle book includes a free eBook in PDF format
Free with your book: DRM-free PDF version + access to Packt's next-gen Reader (Email sign-up and proof of purchase required)
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, 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 learn
Understand Node.js basics and its async event-driven architecture
Write correct async code using callbacks, promises, and async/await
Harness Node.js streams to create data-driven processing pipelines
Implement trusted software design patterns for production-grade applications
Write testable code and automated tests (unit, integration, E2E)
Use advanced recipes: caching, batching, async init, offload CPU-bound work
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.
Luciano Mammino began his coding journey at the age of 12 on his father's old i386, and he hasn't stopped since. With over 15 years of experience in the software industry, he now serves as a senior architect at fourTheorem , where he empowers global clients to fully leverage AWS and serverless technologies. As an AWS Serverless Hero and Microsoft MVP, Luciano is recognized for his expertise and contributions to the tech community. An active international speaker, he has delivered over 160 talks at conferences and meetups worldwide, sharing his knowledge and passion for cutting-edge technology. Mario Casciaro is a software architect, technology leader, and entrepreneur with a long career in building and scaling software products for mission-critical industries. Throughout his career, he has held roles ranging from software engineer to team leader to CTO. His passion for software and technology has led him to develop multiple side projects, launch a start-up, and, of course, write the bestselling book Node.js Design Patterns. His proudest moment is seeing his software being used for astronaut rescue operations.
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: Patterns and Best Practices
Advanced Recipes
Scalability and Architectural Patterns
Messaging and Integration Patterns
| Erscheinungsdatum | 16.04.2025 |
|---|---|
| Vorwort | Colin J. Ihrig, Matteo Collina |
| Verlagsort | Birmingham |
| Sprache | englisch |
| Maße | 191 x 235 mm |
| Themenwelt | Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge |
| Informatik ► Software Entwicklung ► SOA / Web Services | |
| Mathematik / Informatik ► Informatik ► Theorie / Studium | |
| Mathematik / Informatik ► Informatik ► Web / Internet | |
| ISBN-10 | 1-80323-894-1 / 1803238941 |
| ISBN-13 | 978-1-80323-894-4 / 9781803238944 |
| Zustand | Neuware |
| Informationen gemäß Produktsicherheitsverordnung (GPSR) | |
| Haben Sie eine Frage zum Produkt? |
aus dem Bereich