DEPENDENCY INJECTION AS A METHOD OF ACHIEVING LOW COUPLING BETWEEN MODULES
Keywords:
programming, dependency injection, object-oriented programming, design patternsAbstract
This article discusses and highlights the details of a software engineering mechanism such as Dependency Injection. The purpose of the article is to reveal the topic of managing the complexity of software development. Gaps in the architecture of OOP programs are indicated and issues that naturally arise when scaling programs are indicated. The method of providing low cohesion between software modules, actual at the time of the article, is proposed. A description of the mechanism is proposed, and a description of its possibilities of use and some problems with its use.
References
Макконнелл С. Совершенный Код. Мастер-класс / Пер. с англ. – М.: Издательство «Русская редакция», 2010. – 896 с.
Симан М. Внедрение зависимостей в .NET. – СПб.: Питер, 2014. – 464 с.
Brooks F.P., jr. No Silver Bullet – Essence and Accident in Software Engineering // Computer Magazine, 1987. – http://www.virtualschool.edu/mon/SoftwareEngineering/ BrooksNoSilverBullet.html.