lundi 17 septembre 2018

How Inversion of control, Dependency Inversion principle and Dependency Injection are related?

I know that using Dependency Injection/Service locator design pattern/etc. we are achieving Inversion of control. but where does the Dependency Inversion principle fit into? or it is completely separate than these 2?

  1. Do we achieve IOC using the DIP as well?
  2. Does DIP somehow relate to IOC or DI?

Aucun commentaire:

Enregistrer un commentaire