Buy new:
-19% $46.74
FREE delivery Thursday, May 16
Ships from: Amazon.com
Sold by: Amazon.com
$46.74 with 19 percent savings
List Price: $57.99

The List Price is the suggested retail price of a new product as provided by a manufacturer, supplier, or seller. Except for books, Amazon will display a List Price if the product was purchased by customers on Amazon or offered by other retailers at or above the List Price in at least the past 90 days. List prices may not necessarily reflect the product's prevailing market price.
Learn more
FREE Returns
FREE delivery Thursday, May 16. Order within 5 hrs 5 mins
In Stock
$$46.74 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$46.74
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon.com
Ships from
Amazon.com
Sold by
Amazon.com
Sold by
Amazon.com
Returns
30-day easy returns
30-day easy returns
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Returns
30-day easy returns
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Payment
Secure transaction
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$40.95
FREE Returns
Very Good - Standard used condition book with the text inside being clean and unmarked - Exterior of the book shows moderate signs of usage Very Good - Standard used condition book with the text inside being clean and unmarked - Exterior of the book shows moderate signs of usage See less
$6.99 delivery Wednesday, May 22
Only 1 left in stock - order soon.
$$46.74 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$46.74
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Something went wrong. Please try your request again later.

Node.js Design Patterns - Third edition: Design and implement production-grade Node.js applications using proven patterns and techniques 3rd ed. Edition

4.6 4.6 out of 5 stars 292 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$46.74","priceAmount":46.74,"currencySymbol":"$","integerValue":"46","decimalSeparator":".","fractionalValue":"74","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"ceWRwEC8qqMsuL2GLiSLjhyntZ9OKyRU8tPsdjtq3gmIJDknNzWUSMw%2F6mM2O7%2FXi%2FB6Fe38qM3V0bo784W6niEh2a86DQFnp%2FgM9myVIJXiyFp8jJySLdxlqk10xKQqitYf9t3lgZXXgPZZLUb7mA%3D%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$40.95","priceAmount":40.95,"currencySymbol":"$","integerValue":"40","decimalSeparator":".","fractionalValue":"95","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"ceWRwEC8qqMsuL2GLiSLjhyntZ9OKyRUjnmwzqYSAWGS3qSpZ6JFbOuyEw66VoAVRjbUCs6779MwD2LAMkmPttORrr692ajRKdthM1svjzh5yQnyhuDrKvqoQHc6FsOuEKSVtYxRyD3EWAFHmItH3jL%2BH4QBOjNKfeR26irKmySvVWJyHxXZGfcC8lb284uR","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

Learn proven patterns, techniques, and tricks to take full advantage of the Node.js platform. Master well-known design principles to create applications that are readable, extensible, and that can grow big.

Purchase of the print or Kindle book includes a free eBook in the PDF format.

Key Features
  • Learn how to create solid server-side applications by leveraging the full power of Node.js
  • 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
Book Description

In this book, we will show you how to implement a series of best practices and design patterns to help you create efficient and robust Node.js applications with ease.

We kick off by exploring the basics of Node.js, analyzing its asynchronous event driven architecture and its fundamental design patterns. We then show you how to build asynchronous control flow patterns with callbacks, promises and async/await. Next, we dive into Node.js streams, unveiling their power and showing you how to use them at their full capacity. Following streams is an analysis of different creational, structural, and behavioral design patterns that take full advantage of JavaScript and Node.js. Lastly, the book dives into more advanced concepts such as Universal JavaScript, scalability and messaging patterns to help you build enterprise-grade distributed applications.

Throughout the book, you'll see Node.js in action with the help of several real-life examples leveraging technologies such as LevelDB, Redis, RabbitMQ, ZeroMQ, and many others. They will be used to demonstrate a pattern or technique, but they will also give you a great introduction to the Node.js ecosystem and its set of solutions.

What you will learn
  • Become comfortable with writing asynchronous code by leveraging callbacks, promises, and the async/await syntax
  • Leverage Node.js streams to create data-driven asynchronous processing pipelines
  • Implement well-known software design patterns to create production grade applications
  • Share code between Node.js and the browser and take advantage of full-stack JavaScript
  • Build and scale microservices and distributed systems powered by Node.js
  • Use Node.js in conjunction with other powerful technologies such as Redis, RabbitMQ, ZeroMQ, and LevelDB
Who this book is for

This book is for developers and software architects who have some prior basic knowledge of JavaScript and Node.js and now want to get the most out of these technologies in terms of productivity, design quality, and scalability. Software professionals with intermediate experience in Node.js and JavaScript will also find valuable the more advanced patterns and techniques presented in this book.

This book assumes that you have an intermediate understanding of web application development, databases, and software design principles.

Table of Contents
  1. The Node.js Platform
  2. The Module System
  3. Callbacks and Events
  4. Asynchronous Control Flow Patterns with Callbacks
  5. Asynchronous Control Flow Patterns with Promises and Async/Await
  6. Coding with Streams
  7. Creational Design Patterns
  8. Structural Design Patterns
  9. Behavioral Design Patterns
  10. Universal JavaScript for Web Applications
  11. Advanced Recipes
  12. Scalability and Architectural Patterns
  13. Messaging and Integration Patterns
Read more Read less

Amazon First Reads | Editors' picks at exclusive prices

Frequently bought together

$46.74
Get it as soon as Thursday, May 16
In Stock
Ships from and sold by Amazon.com.
+
$32.99
Only 3 left in stock - order soon.
Sold by Look&Shop and ships from Amazon Fulfillment.
+
$32.49
Get it as soon as Thursday, May 16
Only 20 left in stock (more on the way).
Ships from and sold by Amazon.com.
Total price:
To see our price, add these items to your cart.
Details
Added to Cart
Some of these items ship sooner than the others.
Choose items to buy together.

From the Publisher

Node js design patterns mario casciaro interview
node.ds design patterns

Node.js design patterns
Key Features

  • 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
  • Share code between Node.js and the browser and take advantage of full-stack JavaScript
node.js design patterns packt

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
  • Universal JavaScript for Web Applications
  • Scalability and Architectural Patterns
  • ...and more
Linking exports with imports across modules

Linking exports with imports across modules

Editorial Reviews

Review

"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.

Product details

  • Publisher ‏ : ‎ Packt Publishing; 3rd ed. edition (July 28, 2020)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 664 pages
  • ISBN-10 ‏ : ‎ 1839214112
  • ISBN-13 ‏ : ‎ 978-1839214110
  • Item Weight ‏ : ‎ 2.51 pounds
  • Dimensions ‏ : ‎ 9.25 x 7.52 x 1.37 inches
  • Customer Reviews:
    4.6 4.6 out of 5 stars 292 ratings

About the authors

Follow authors to get new release updates, plus improved recommendations.

Customer reviews

4.6 out of 5 stars
4.6 out of 5
292 global ratings

Top reviews from the United States

Reviewed in the United States on April 25, 2024
Thanks amazon for delivering the book in perfect condition.
The authors have done a great job of putting together a rich source of technical information for Node.js developers.
Reviewed in the United States on July 5, 2023
if you really understand the concept you don't need to read other books for Nodejs
Reviewed in the United States on August 31, 2022
This is a really good book. If you use NodeJS, I would highly suggest it. Especially if you’re not already a senior developer. It introduced me new concepts but it really helped me get my code more organized and strategic through using proven design patterns .

The author, Luciano is VERY good with NodeJS and is really a top tier developer and great teacher!

We’ll worth the small price!!!
4 people found this helpful
Report
Reviewed in the United States on August 7, 2023
Thanks, book is fresh
Reviewed in the United States on June 24, 2023
It’s a book Either like the way it’s written or you don’t.
Reviewed in the United States on October 1, 2022
This book is amazing, in depth and super informative. If you really into nodejs you have to grab this book as soon as possible.
The only complain I have is that the book is not loosely coupled. Every chapter is building on the previous one, which I find unnecessary. For example the last chapter, Messaging techniques shouldn't be coupled with the rest of the book.
3 people found this helpful
Report
Reviewed in the United States on February 4, 2023
An excellent book, highly recommend it.

Extremely useful, I read it 2 times and planning for the third one.
Reviewed in the United States on July 18, 2022
This book gets straight to the point, and there are many practical examples.
You can find fundamentals and more advanced notions.
Each chapter is well designed and the presentation of topics follows a well-structured logic.

Top reviews from other countries

Translate all reviews to English
Renan Truppel Ayoub
5.0 out of 5 stars Excelente content
Reviewed in Brazil on April 5, 2023
I am liking the book, it explains a lot of low level concepts of nodejs and the part of design patterns shows great exemples how to use the pattern explained, instead of just theory.

Worth the purchase. I really recommend.
One person found this helpful
Report
Sado
5.0 out of 5 stars Amazing book
Reviewed in Germany on April 14, 2024
Well Twitter. Worth the money
massimiliano c.
5.0 out of 5 stars Wonderful book, the best for Node.js. Un libro da avere nella propria biblioteca
Reviewed in Italy on January 12, 2023
Un libro strutturato veramente bene, con esempi chiari e precisi, mirati a spiegare i concetti esposti. Molto completo ed ampio tratta praticamente tutti gli aspetti e gli approcci di node.
Great job for Mario and Luciano
Juan
5.0 out of 5 stars Imprescindible
Reviewed in Spain on June 28, 2022
Libro que siempre recomiendo a los desarrolladores junior o a los que quieran mejorar sus habilidades con Node. Bien estructurado y con el contenido necesario para entender como trabajar de forma profesional con este lenguaje.
Just Some Guy
5.0 out of 5 stars The MUST-READ Book for ALL Serious JavaScript Developers
Reviewed in the United Kingdom on April 2, 2022
If you are a serious Node developer (or hope to be), you must read this book. That's all there is to it.

First off, the book's title seriously _undersells_ this book. It covers way, _way_ more than design patterns.

Now, given how central Node is to ALL JavaScript development workflows these days (ie. anyone using Webpack/React, etc.), I'd strongly suggest anyone who writes JS in any serious way should read this book. For Node devs, again, it's a must. I had read the 2nd edition, and even so this 3rd edition was worth the read (they've updated everything for ES6, reorganized, and added a bunch of new material).

The authors start at the fundamentals of how Node itself works (single thread, non-blocking I/O, etc.), then take a bottom-up approach to teach you not just Node, but the very fundamentals of asynchronous JS coding - going into great detail on each of the 4 core pillars of async JS code (events, callbacks, promises, and async/await).

They completely explain the JS Module systems used in Node, explaining both CommonJS and ES6 modules, as well as the key similarities/differences of how they are loaded and execute at runtime (or bundle-time), where each type can/can't be used, how to use each type in Node, and so on.

Even tho most Node devs may not use Streams much, this book does a whole chapter in fantastic detail to explain how they work, why they are so central to Node, and why that's such a strength of the platform. Of course they then explain a variety of example uses/patterns built on Streams, to drive the points home.

The rest of the book is mostly design patterns from there. Each pattern is well explained, with ample example code and diagrams to clarify all you need to know. You may know all of them already (unlikely), but even if you do there are tips and tricks you can pick up along the way.

Lastly, the final chapter is a rewrite (as I recall) of their prior coverage of messaging patterns, completely updated to reflect the growth and prominence of microservices. They give 75 pages to cover all the essential messaging patterns you'll probably need, and include numerous really solid (tho not prod-ready) examples using ZeroMQ, RabbitMQ, and even Redis Streams (which could apply to Kafka, etc. conceptually as well).

OK, I'll stop gushing. I'll just close to say that coming in at over 600 pages, this book is a commitment, for sure. Once you start reading it, though, it flies by (I read it in a week). The writing is clear, the diagrams and code examples are great, and the value is self-evident.

Buy it. Read it. Thank me later. ...You're welcome. ;-)
4 people found this helpful
Report