Content tagged with "di"
Dependency injection pattern when using services-based containers: a trait per dependencyFriday, July 29, 2016 - 14:13
Phew, what a mouthful. But at least unlike a lot of other mouthfuls, it at least has a few teeth.
Testable dependency injection in a DI-lite framework like SilexFriday, May 13, 2016 - 10:53
Light frameworks should not mean heavy coupling
Services files are the most powerful bits of Symfony and hence Drupal 8Wednesday, March 16, 2016 - 16:43
Big services have little services/ Dependency-injected/ And little services have littler services/ And so on, as expected.
Using dependency injectors to build "just-in-time" object-oriented code evaluationMonday, June 9, 2014 - 15:58
Imagine a version of eval() that's much harder to shoot yourself in the foot with! Not hard to imagine, right?