Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques, 3rd Edition
Use the Amazon App to scan ISBNs and compare prices.
Frequently bought together
From the Publisher
- Learn how to create solid server-side applications by leveraging the full power of Node.js 14
- Understand how Node.js works and learn how to take full advantage of its core components as well as the solutions offered by its ecosystem
- Avoid common mistakes and use proven patterns to create production grade Node.js applications
What’s new in this third edition of Node.js Design Patterns?
Node.js Design Patterns is the go-to book for Node.js developers looking to master the most important patterns and best practices to deploy Node.js applications to production with confidence.
This edition has been almost entirely rewritten and updated to cover the features of the most recent Node.js LTS version (Node.js 14), and leverages modern best practices and the most recent Node.js features such as EcmaScript Modules (ESM) and async/await.
With this book, you'll learn to:
- Leverage Node.js streams to create data-driven asynchronous processing pipelines
- Implement well-known software design patterns to create production grade applications
How can this book help readers?
When we wrote Node.js Design Patterns, Third Edition, the main goal was to create a book that was worth buying, with content not easily available on the internet or in other books, and with a level of detail that is hard to find in a free online article. The best way to do this was to tap into our own experience and incorporate into the book the patterns, the techniques and the principles that we use every day.
In this book, we have collected many of the real-life lessons that we learned in our 15+ years of collective experience with running production-grade Node.js applications. The result is a book which is very practical and easy to read, containing topics that span from the basics of Node.js to how to scale and integrate applications to serve millions of users.
We believe that Node.js is a great piece of technology which allows for rapid prototyping of applications. We feel that there isn't a great bulk of literature on how to take these prototypes to the next level. With this book, we want to fill this gap. Search online for 'Node.js Design Patterns' to find the book's official site with free sample chapter.
Table of Contents
- The Node.js Platform
- The Module System
- Asynchronous Control Flow Patterns
- Coding with Streams
- Creational, Structural & Behavioral Design Patterns
- Scalability and Architectural Patterns
- ...and more
Linking exports with imports across modules
"I've read basically every Node.js book ever published, and this is my personal favorite (and best) by far. Even months after reading all the way through this text, I still learn new things each time I browse through it. What can I say, this is a must for anyone writing code in Node.js! Everything in the book, including the code examples, are very useful in practice."--
Joe Karlsson Software Engineer at MongoDB
"Node.js Design Patterns, Third Edition is a really in-depth look into the world of Node.js. Everything you ever wanted to know, and more! It's very comprehensive, and gets into the details of how Node.js works. It's a perfect book for anyone who already knows a bit about Node.js, and is looking to deepen their knowledge."--
Ire Aderinokun VP Engineering at BuyCoin Africa
"Node.js Design Patterns, Third Edition is a great, in-depth resource for both beginners and advanced. Even though I've been writing Node.js applications for the past 5 years, I learned a lot from this comprehensive piece of work. By far the best Node.js book currently out there."--
Simon Høiberg, Software Engineer, Business Owner, and Entrepreneur
About the Author
Mario Casciaro is a software engineer and entrepreneur. Mario worked at IBM for a number of years, first in Rome, then in Dublin Software Lab. He currently splits his time between Var7 Technologies-his own software company-and his role as lead engineer at D4H Technologies where he creates software for emergency response teams.
Luciano Mammino wrote his first line of code at the age of 12 on his father's old i386. Since then he has never stopped coding. He is currently working at FabFitFun as principal software engineer where he builds microservices to serve millions of users every day. Luciano also runs bespoke training courses to foster serverless adoption and Fullstack Bulletin, a free weekly newsletter for full-stack developers.
- Publisher : Packt Publishing (July 29, 2020)
- Language : English
- Paperback : 660 pages
- ISBN-10 : 1839214112
- ISBN-13 : 978-1839214110
- Item Weight : 2.46 pounds
- Dimensions : 7.5 x 1.49 x 9.25 inches
- Best Sellers Rank: #74,178 in Books (See Top 100 in Books)
- Customer Reviews:
About the authors
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
This book is OK can take you from bdgginer level to intermediate. It is amazing book, because it shows you the problem and the solution with a reference code. Tha. The authors ask a question and revile another problem with the implementation, and once again explain with a refeecode the solution.
The material spans many paradigms and patterns in their own right. It contains short examples carried out in NodeJS. Yet in your work, if you don’t write NodeJS code directly, you may be using it indirectly. For example, chapter 2 explains and contrasts the two module systems supported by NodeJS. Some of my knowledge of them was gained via osmosis or school of hard knocks while writing JQuery, Angular and React SPAs. The chapter nailed the subject with accessible explanations and examples that I quickly tried. The sidebars throughout the book are gravy. Chapter 2 became my go-to reference for modules.
Organizing the chapters under major sections is the only enhancement I could suggest. For example, callbacks, events, flow patterns, promises, and async/await chapters could be within a section. The three design pattern chapters would populate another section. The other chapters could fall into a pair of bookend sections.
Their substantial book (600-pages plus) presents "proven patterns and techniques" for designing and implementing production-grade Node.js applications.
Some other sections that taught me a lot:
"Streams" are the most difficult concepts to grasp in NodeJS and this book explains the concepts really well.
"Advanced Recipes" section presents a lot of useful patterns and building async functions that can be canceled, the use of generators, async batching, and caching, all these topics have been explained very well in the book.
"Scalability and Architectural Pattern" section even talks about scaling NodeJS with containers
This is not just a book on design patterns commonly seen in the NodeJS ecosystem but almost like a reference book that explains the best practices as well as how NodeJS really works under the hood.
Top reviews from other countries
The previous edition was good but this one is just out of this world.
Reviewed in the United Kingdom on November 21, 2020
The previous edition was good but this one is just out of this world.
I am currently on chapter 6 - Streams, but I've learned so much about Promises and asynchronous programming, things that I thought to know but the content of the book showed me a lot more about it.
Worthy the investment, in the opinion of someone who is studying Node.js in an advanced way.
Complimenti agli autori.
La semplicità nello spiegare con esempi pratici e senza troppi "fronzoli" lo rende molto fruibile anche per chi come me usa un diverso linguaggio di programmazione.