Dependency Injection with Node.js

  • Post published:May 31, 2020

Node.js supports the Dependency Injection (DI) design pattern by utilizing the awilix npm package. Awilix is a powerful dependency injection container for JavaScript/Node providing a very simple API. Another useful…

Command-Query Separation (CQS)

  • Post published:May 23, 2020

Command-Query Separation (CQS) is a principle or guideline, used in a software architecture, that states that every method should either be a command that performs an action, or a query…

Dependency Injection with .NET Azure Functions

  • Post published:May 23, 2020

.NET Azure functions supports the dependency injection design pattern by providing an extension package. Support for dependency injection begins with Azure Functions 2.x. Getting started Create an empty .NET Azure…

What is dependency injection?

  • Post published:May 23, 2020

Dependency injection (DI) is a technique used to help inject dependent objects of a class. It is also one of the techniques used to implement Inversion of Control (IoC). Dependency…

Inversion of Control (IoC)

  • Post published:May 23, 2020

Inversion of Control (IoC) is a programming principle where the unconcerned logic in a class is delegated to some other class. In other words, IoC is all about inverting the…