/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

blog.ploeh.dk
| | lenholgate.com

[AI summary] The post explains the concept of Dependency Injection as a software design pattern to reduce coupling and improve flexibility through various injection methods like constructor injection.
6.1 parsecs

Travel
| |
| | mikemikina.com

Vapor 3 has a very interesting dependency injection framework which will help you manage dependencies and mock them inside your tests.
9.7 parsecs

Travel
| |
| | daniel-siepmann.de

Explanation of how Dependency Injection works for TYPO3 Extbase (prior TYPO3 CMS v10).
9.7 parsecs

Travel
| |
| | sookocheff.com

Inversion of Control (IoC), also known as Dependency Injection (DI), allows an object to define their dependencies as constructor arguments (strictly speaking, you can set these dependencies as properties, but the examples I will use today are constructor-based). This is the inverse of the object itself controlling the instantiation or location of its dependencies, hence the name Inversion of Control. Let's look at an example from Stackoverflow using a text editor with a spell checking component:
16.8 parsecs

Travel
|