Software development, agile methodologies and open source projects.
Tag Archive — "services"
- Reusing factories in Zend ServiceManager
I think it is doubtless that modern PHP embraces SOLID principles, and therefore, dependency injection.
That's why every modern PHP application needs a dependency injection container to deal with it.
There are several options out there, depending on the way you like to work. Ev...
- 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.
- 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 ...