About the authorauthor

Amishav Yoni

“Be like water making its way through cracks. Do not be assertive, but adjust to the object, and you shall find a way round or through it.”― Bruce Lee

JavaScriptpost-image
23 April 20206 min read
Creating your own Dependency Injector (DI) library – Typescript

We will start by defining what is the DI pattern and what is a good use-case for such a pattern.  The main goal of this pattern is disconnecting the client from the knowledge of how to construct a service or an object it needs and letting someone else handle the construction (aka - Injector). When you create an object within your class aka "newing it yourself" you bind your class to these objects making it impossible to switch implementations from outside of your code example -  using configura

JavaScriptpost-image
23 April 20206 min read
Creating your own Dependency Injector (DI) library – Typescript

We will start by defining what is the DI pattern and what is a good use-case for such a pattern.  The main goal of this pattern is disconnecting the client from the knowledge of how to construct a service or an object it needs and letting someone else handle the construction (aka - Injector). When you create an object within your class aka "newing it yourself" you bind your class to these objects making it impossible to switch implementations from outside of your code example -  using configura

Read more
JavaScriptpost-imageCreating your own Dependency Injector (DI) library – Typescript

23 April 2020

6 min read

We will start by defining what is the DI pattern and what is a good use-case for such a pattern.  The main goal of this pattern is disconnecting the client from the knowledge of how to construct a service or an object it needs and letting someone else handle the construction (aka - Injector). When you create an object within your class aka "newing it yourself" you bind your class to these objects making it impossible to switch implementations from outside of your code example -  using configura

Read more

1 of 1 Articles