This new edition of Node.js Design patterns has been completely revamped in order to be even more relevant and up to date.
All the contents have been adapted to leverage the new features of Node.js version 6 and the code examples now extensively use many of the new features provided with EcmaScript 2015. Furthermore an entire new chapter about Universal JavaScript has been introduced.
Even if you read the first edition of this book you are going to love this upgrade!
Learn by doing! With more than 100 working examples, you immediately put into practice everything you learn. Every code sample comes with a full step-by-step explanation, so you don't have to spend time to guess how things work.
Every chapter will bring you one step closer to becoming a Node.js expert. From the basics of the Node.js architecture to how to scale and distribute your application, the book covers almost every aspect of Node.js development.
A good learning experience can't be achieved by only throwing code and notions at the reader. Node.js Design Patterns comes with in-depth explanations and examples, so that even a novice can follow and immediately take advantage of advanced techniques.
This chapter serves as an introduction to the world of Node.js application design by showing the patterns at the core of the platform itself. It covers the Node.js ecosystem and its philosophy, a short introduction to Node.js version 6, ES2015, and the reactor pattern.
This chapter introduces the first steps towards asynchronous coding and design patterns with Node.js discussing and comparing callbacks and the event emitter (observer pattern). This chapter also introduces the Node.js module system and the related module pattern.
The third chapter introduces a set of patterns and techniques for efficiently handling asynchronous control flow in Node.js. This chapter teaches you how to mitigate the "callback hell" problem using plain JavaScript and the async library.
In this chapter we progress with the exploration of asynchronous control flows introducing Promises, Generators, and Async-Await.
This chapter dives deep into 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.
The sixth chapter deals with a controversial topic: traditional design patterns in Node.js. It covers the most popular conventional design patterns and shows you how unconventional they might look in Node.js. It also introduces the reader to some emerging design patterns that are specific only to JavaScript and Node.js.
This chapter analyzes the different solutions for linking the modules of an application together. In this chapter, you will learn design patterns such as Dependency Injection and service locator.
This part of the book explores one of the most interesting capabilities of modern JavaScript web applications: being able to share application code between the frontend and the backend. Across this chapter we learn the basic principles of Universal JavaScript by building a simple web application with React, Webpack, and Babel.
The ninth chapter takes a problem-solution approach to show you how some common coding and design challenges can be solved with ready-to-use solutions.
This chapter teaches you the basic techniques and patterns for scaling a Node.js application.
The final chapter presents the most important messaging patterns, teaching you how to build and integrate complex distributed systems using ZMQ and AMQP.
The Node.js BibleReview on Amazon.com
Awesome. Information GoldReview on Amazon.com
The code examples are simple and brilliantReview on Amazon.com
Easily the best book on Node.jsReview on Amazon.com
Clear explanations of complex topicsReview on Amazon.com
An indispensable book for every node developerReview on Amazon.com
Great book, which is rare these days.Review on Amazon.com
If you are doing anything with Node, this book should be on your shelf/iPad/Kindle.Review on Amazon.com
It's hard to find good intermediate/advanced #nodejs resources, but @mariocasciaro's Node.js Design Patterns delivers. Check it out
— Chad Wyszynski (@nimbus154)September 4, 2015
As painful as it is to admit, @mariocasciaro has written the best book on Node.js out there: http://t.co/LIbUtf6qQ4
— Sandro Pasquali (@spasquali)March 2, 2015
The Node.js Design Patterns book is awesome @mariocasciaro! It has really helped me to understand and work with #nodejs.
— Romel Pérez (@ronelprhone)September 2, 2015
design patterns" was the best book I read about #scaling a #nodejs application. I highly recommend it. Thank you @mariocasciaro
— Emmanuel Bourmalo (@ebourmalo)May 7, 2015