Software development, agile methodologies and open source projects.
Tag Archive — "service-manager"
- Using ServiceManager 3 lazy services to improve your PHP application performance
Performance is an important subject when a project grows.
There are some good practices that make projects more maintainable, like dependency injection, however, creating all the objects at the beginning of the request could reduce the application performance.
If some of the cr...
- Improving Zend\ServiceManager workflow with annotations
Everyone who regularly visits my blog knows that I'm an absolute fan of the Zend\ServiceManager component.
It is always my choice to deal with dependency injection in any kind of project, more now that v3 has been released, which is faster and has a better public API.
- Improve dependency injection in PHP apps with Zend Framework plugin managers
I have spoken many times at this blog about dependency injection, and how the ZF2 ServiceManager is one of the best tools to solve it.
You can read these related articles to know more:
How to properly use the Zend framework 2 service manager as a dependency injection container
- 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 g...
- Advanced usage of ServiceManager in Zend Framework 2
After a time working with Zend Framework 2 one is used to use the ServiceManager, which is one of the most powerful components in the framework.
It eases the creation of objects and performing dependency injection, allowing us to define how objects are created just in one place ...
- 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 si...