Dependency Injection and IoC

Dependency Injection

How objects obtain dependent objects

The class being injected has no responsibillity in instantiating the object being injected Key Theme: Avoid Tight Coupling

Types of Dependency Injection:

Inversion of Control

A technique to allow dependencies to be injected at runtime

IoC vs DI


Revision #1
Created 17 April 2022 00:39:20 by Elkip
Updated 17 April 2022 00:39:44 by Elkip