This commit is contained in:
Leonn 2021-05-20 16:44:35 +07:00
parent 64574dff4d
commit b80eb227a7
No known key found for this signature in database
GPG Key ID: 38BC79D47BB64731

View File

@ -9,7 +9,7 @@ Dependency injection and inversion of control in Python
Dependency Injector, its container, Factory, Singleton and Configuration Dependency Injector, its container, Factory, Singleton and Configuration
providers. The example show how to use Dependency Injector providers overriding providers. The example show how to use Dependency Injector providers overriding
feature for testing or configuring project in different environments and explains feature for testing or configuring project in different environments and explains
why it's better then monkey-patching. why it's better than monkey-patching.
Originally dependency injection pattern got popular in the languages with a static typing, Originally dependency injection pattern got popular in the languages with a static typing,
like Java. Dependency injection is a principle that helps to achieve an inversion of control. like Java. Dependency injection is a principle that helps to achieve an inversion of control.
@ -29,7 +29,7 @@ contains Python examples that show how to implement dependency injection. It dem
of the dependency injection framework ``Dependency Injector``, its container, ``Factory``, of the dependency injection framework ``Dependency Injector``, its container, ``Factory``,
``Singleton`` and ``Configuration`` providers. The example shows how to use ``Dependency Injector`` ``Singleton`` and ``Configuration`` providers. The example shows how to use ``Dependency Injector``
providers overriding feature for testing or configuring project in different environments and providers overriding feature for testing or configuring project in different environments and
explains why it's better then monkey-patching. explains why it's better than monkey-patching.
What is dependency injection? What is dependency injection?
----------------------------- -----------------------------