/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

matthiasnoback.nl
| | ryanharter.com

I recently gave a presentation about how Dagger works under the hood, and I was once again struck by the elegance of the javax.inject.Provider interface. The interface is so simple it almost seems useless, but it's also incredibly flexible, and forms the basis of much of the code generated by Dagger. Like many dependency injection frameworks for JVM languages, Dagger uses and builds on the standard set of annotations for injectable classes defined in JSR-330 and provided in the javax.
6.5 parsecs

Travel
| |
| | brandonsavage.net

PHP more or less has two kinds of dependency injection available: constructor injection, and setter injection. Constructor injection is the process of injecting dependencies through the constructor arguments, like so: The dependencies are injected via the constructor, on object creation, and the object has them from the very beginning. Setter injection is different; instead of [...]
5.9 parsecs

Travel
| |
| | daniel-siepmann.de

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

Travel
| |
| | symfony.com

In Symfony 4.1 you can get all container parameters in a service injecting one of its constructor arguments with the ParameterBagInterface.
28.1 parsecs

Travel
|