Dependency Injection <font size=-2><a href=http://www.lifemichael.com/en/?page_id=73 target=_blank>PRO</a></font>
Dependency Injection is a fancy word for a very simple design pattern that decouples highly dependent components. The traditional approach for coupling the objects with each other was to hard code the dependency. public interface IEngine { … } public class DieselEngine implements IEngine { … } public interface ICar { … } public class […]