DEV Community

Arifkurdi
Arifkurdi

Posted on

Node js design patterns series introduction

Hello Friends and welcome to the Node JS Design Patterns book summary

the first part will talk about the book in general so lets kick it

The book published on 2020 by Mario Casciaro and Luciano Mammino and both are very known engineers on the field, Mario was a team lead in IBM and Luciano is senior architect.

The book contain 13 chapter and it takes you from the concept and the philosophy of node js ( big words huh ) and the very basics and go through the async neutral and async control flow pattern with callbacks and promises and we gonna go through some design patterns like creational and structural and behavioral and take full advantage of node js and then we gonna dive into some advanced shit like scalability and architectural patterns.

The chapters goes this way:-

1- The node platform: here we gonna talk about what is node
js in theory how it is works and how is regular js library can have a philosophy and the beauty of JavaScript world.

2- The module system: the modules systems and its patterns and how its works and the hodd

3- callback and events : here we gonna start talking asynchronously, and the first way to go async is callback and then we gonna talk about the event loop and what the hill is going async and discover some async design patterns

4- asynchronous control flow patterns with callbacks

5- asynchronous control flow promises and Async/Await

6- coding with streams: we gonna see what is streams and use cases of it

7- Creational Design Pattern: take a look at some of traditional design patterns like Singleton and Factory and builder

8- Structural Design Pattern: some design patterns like Proxy and Decorator and Adapter

9- Behavioral Design Pattern: strategy pattern and more

10- Universal JS for the web applications: here the story gonna be more fun and we gonna see how JavaScript work on browser and cross-platform and some react shit

11- Advanced recipes: here we going to the next level in asynchronous functional behavioral and mastering some principles and patterns to solve more complex problems

12- Scalability and architectural patterns: in this part we gonna discuss how to design Nodejs architecture that scale in both capacity and complexity and get little DevOps’y

13- Messaging and integration patterns: here we gonna see how to design distributed systems and mastering most important types of messaging exchange pattern.

every day i am going to publish a summery for a chapter so stay close my friend and see you tomorrow.

Top comments (0)