In this post I am going to introduce my last side-project: “Node.js design patterns — second edition”, a technical book about Node.js and design patterns published by Packt.
This blog has been a very quite place in the last 8-9 months, this is because almost all my free time has been absorbed by one of my most ambitious side projects: co-writing a book about Node.js and design patterns!
I am finally happy to announce that “Node.js design patterns — second edition” has been published.
You can keep reading this post to find out more or have a look at the official website. If all of this is convincing enough you can even decide to buy the paperback or the e-book on Packt, Amazon or O’Reilly :P
The making of
As you might have noticed, this book is the second edition of an existing book on the topic — I dare to say one of the best books on the topic — that Mario Casciaro put together a couple of years ago.
I was contacted by Mario in November last year because he was looking for somebody willing to help him in creating a new edition of the book. I don’t know yet why he thought I might have been the right person (and I am still flattered about this) but, being his book one of my favourites, I almost immediately decided to accept the challenge and work with him and Packt on this new edition.
Content of the book
The final result counts 11 chapters, more than 500 pages and more than 100 code examples.
The first two chapters provide basic informations about the Node.js platform and the new features introduced with EcmaScript 2015.
Chapter 3 and 4 go deep into the topic of asynchronous programming exploring different approaches (callbacks, promises, events, async/await) and design patterns to exploit all the most common scenarios.
Chapter 5 discusses one of the most important patterns in Node.js: streams. It shows you how to process data with transform streams and how to combine them into different layouts.
Chapter 7 analyses the different solutions for linking the modules of an application together investigating design patterns such as Dependency Injection and the service locator pattern.
Chapters 9, 10 and 11 go into more advanced and enterprise topics like “Advanced Asynchronous Recipes”, “Scalability and Architectural Patterns” and finally “Messaging and Integration Patterns”.
Apart from Mario, Joel and Tane, which I already mentioned previously, I have to spend a special word of thank you for my dear friends Anton Whalley, Alessandro Cinelli, Andrea Giuliano and Andrea Mangano. They are amazing guys and they have been precious supporters during the creation of this new book with words of encouragement and incredibly meaningful technical advices.
Thank you once again guys :)
Well, I don’t plan to start writing a new book anytime soon in case you are wondering… :D But I surely will keep improving my knowledge and experience with Node.js and maybe I will also start to explore some new field in the amazing world of programming. I guess I will also be able to keep posting articles here more often :)
So stay tuned for the next post :)
I will go now to take a pint to celebrate the release… Cheers 🍻