/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

fusectore.dev
| | 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:
2.5 parsecs

Travel
| |
| | daniel-siepmann.de

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

Travel
| |
| | conradakunga.com

This is Part 8 of a series on dependency injection.
2.7 parsecs

Travel
| |
| | matthiasnoback.nl

[AI summary] A technical tutorial explaining how to create a custom Symfony 2 user provider using Yaml files to manage authentication instead of the default in-memory or entity providers.
11.3 parsecs

Travel
|