Node.js Design Patterns: Master Best Practices to Build Modular and Scalable Server-Side Web Applications
Rate it:
Open Preview
7%
Flag icon
The truth is that; our software is always an approximation of reality, and we would probably have more success in trying to get something working sooner and with reasonable complexity, instead of trying to create near-perfect software with huge effort and tons of code to maintain.
8%
Flag icon
In fact, in ES2015, const does not indicate that the assigned value will be constant, but that the binding with the value is constant.
13%
Flag icon
Use blocking API only when they don't affect the ability of the application to serve concurrent requests.
19%
Flag icon
Losing control of asynchronous code in JavaScript is undoubtedly easy.
25%
Flag icon
What is a promise? In very simple terms, promise is an abstraction that allows a function to return an object called promise, which represents the eventual result of an asynchronous operation.
32%
Flag icon
There is a motto in the community that says "stream all the things!" and this alone should be enough to describe the role of streams in Node.js.
45%
Flag icon
A proxy is an object that controls access to another object, called a subject.
55%
Flag icon
The two most important properties to balance when building modules are cohesion and coupling
56%
Flag icon
Cohesion: This is a measure of the correlation between the functionalities of a component.