DIP vs. DI

This article does a great job explaining the difference among the two…

Promises and the Inversion of Control

The problem with callbacks is that they force you to defer the responsability of the control flow to the asynchronous function you are invoking. Promises are meant to solve this problem. Rest of the article here…

Inversion of control

We call this inversion of control, when you take part of your program and give over control of its execution to another third party (You don't know JS - async & performance) Great definition. In case of Dependency Injection, we delegate the construction of the domain model graph. In case…