Enjoy fast, free delivery, exclusive deals, and award-winning movies & TV shows with Prime
Try Prime
and start saving today with fast, free delivery
Amazon Prime includes:
Fast, FREE Delivery is available to Prime members. To join, select "Try Amazon Prime and start saving today with Fast, FREE Delivery" below the Add to Cart button.
Amazon Prime members enjoy:- Cardmembers earn 5% Back at Amazon.com with a Prime Credit Card.
- Unlimited Free Two-Day Delivery
- Streaming of thousands of movies and TV shows with limited ads on Prime Video.
- A Kindle book to borrow for free each month - with no due dates
- Listen to over 2 million songs and hundreds of playlists
- Unlimited photo storage with anywhere access
Important: Your credit card will NOT be charged when you start your free trial or if you cancel during the trial period. If you're happy with Amazon Prime, do nothing. At the end of the free trial, your membership will automatically upgrade to a monthly membership.
-19% $46.74$46.74
Ships from: Amazon.com Sold by: Amazon.com
$40.95$40.95
Ships from: Amazon Sold by: KAYLEY'S PRIME STORE
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.
OK
Node.js Design Patterns - Third edition: Design and implement production-grade Node.js applications using proven patterns and techniques 3rd ed. Edition
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
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
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- 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
- Universal JavaScript for Web Applications
- Advanced Recipes
- Scalability and Architectural Patterns
- Messaging and Integration Patterns
- ISBN-101839214112
- ISBN-13978-1839214110
- Edition3rd ed.
- PublisherPackt Publishing
- Publication dateJuly 28, 2020
- LanguageEnglish
- Dimensions9.25 x 7.52 x 1.37 inches
- Print length664 pages
Frequently bought together
Similar items that may ship from close to you
From the Publisher
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
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
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
- Best Sellers Rank: #146,054 in Books (See Top 100 in Books)
- #22 in JavaScript Programming (Books)
- #39 in Web Services
- #530 in Internet & Social Media
- Customer Reviews:
About the authors
Mario Casciaro is a software engineer and entrepreneur. Since he was a child he's been in love with building things, from LEGO spaceships to programs written on his Commodore 64, his first computer. When in college, he used to work more on side projects than on assignments and he published his first open source project on SourceForge back in 2006, it was around 30,000 lines of C++ code. After graduating with a master's degree in software engineering, Mario worked at IBM for a number of years, first in Rome, then in the Dublin Software Lab. He currently splits his time between Var7 Technologies—his own software company, makers of FrontendRobot.com—and his role as lead engineer at D4H Technologies where he creates software for emergency response teams. He is a big supporter of pragmatism and simplicity.
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.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on Amazon-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
The authors have done a great job of putting together a rich source of technical information for Node.js developers.
The author, Luciano is VERY good with NodeJS and is really a top tier developer and great teacher!
We’ll worth the small price!!!
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.
Extremely useful, I read it 2 times and planning for the third one.
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
Worth the purchase. I really recommend.
Great job for Mario and Luciano
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. ;-)