Dependency Injection Pattern | miafish
James Shore has said that "Dependency Injection" is a 25-dollar term for a 5-cent concept. yeah, it is really simple concept.
What is for?
In order to solve one of principles in S.O.L.I.D – Inversion of Control.
What is it?
Dependency injection is basically providing the objects that an object needs (its dependencies) instead of having it construct them itself.
Read full article from Dependency Injection Pattern | miafish
No comments:
Post a Comment