- Dependency injection in nodejs projects
Some of you know that I work now as a full stack javascript developer, and I have interacted with a few different projects, both in front-end javascript and in nodejs. My main concern about javascript has been that, apparently, the community has not adopted one of the practices that, for me, has bee…
tag Archive — "dependency-injection-container"
— 2018 —
— 2015 —
- Managing objects creation and dependency injection with Zend\ServiceManager
Some time ago I wrote the most successful article of this blog, Advanced usage of ServiceManager in Zend Framework 2, explaining all the ways a service can be created by making use of Zend\ServiceManager, the service container component in Zend Framework 2. On this article I'm going to show a real e…
— 2014 —
- How to properly use the Zend framework 2 service manager as a dependency injection container
The service manager is one of the most important components in Zend Framework 2. It easily allows us to handle object instances, construct them and share them between other objects. By using a simple configuration file, we define how our objects have to be constructed, by a simple new, by using a f…
Older postsNewer posts