Node.js Design Patterns: and implement production-grade applications using proven patterns techniques, 3rd Edition
M**T
The best NodeJS book - (Nov 2022)
TLDR; the best NodeJS book yet. It gives a detailed dive into specific patterns, their evolutions and how to write them effectively in your code. The examples are great and the content is clear and concise.I'm an experienced engineer with a history in Java, Go and Javascript (NodeJS), I'm currently over halfway through and this book has massively stood out as one of the best NodeJS books on the market at the moment.The code examples are very detailed and reflect potential real-world examples. You frequently find yourself going "Oh that must be how XYZ framework/library handles it".Thanks to this book, It has allowed me to be able to take a deep dive into projects like React or Fastify and instantly understand what's going on.For the reader, I would expect you to be able to write Javascript code at a minimum and have an understanding of NodeJS from at least a Junior/mid-level engineer. (IE - what it is, how to write basic code, how to look up the documentation)
J**Y
The MUST-READ Book for ALL Serious JavaScript Developers
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. ;-)
D**D
This book is just fantastic
I am a hardcore techie, big into Node and I have to say I have learnt a lot by just going through it. The level of detail and quality of examples are incredible and in general, it is a good book to have as a reference to solve ANY problem that may arise while coding (not only in Node!). This is a book I recommend to my students to go from 0.1 to hero and keep it as a reference forever.The previous edition was good but this one is just out of this world.
J**J
Not suitable for beginners
I bought this as a beginner with Node, wanting to get an idea of some best practices at the start of my journey. But the book is very advanced and completely unsuitable for beginners, possibly even intermediate level too. I spent a day reading through various sections and found nothing that I could understand sufficiently to recognise as being useful, so I returned the book. I might buy it again in a few years, but for now this was of no value to me.
W**E
A bit hard to follow
I find that it takes intense reading of each page to grasp the point of what is being said. Not for beginners. You could be relatively new to NodeJS but would need to be familiar with programming in a different language to derive value from this book.
Trustpilot
Hace 2 meses
Hace 3 semanas