-
Project Scalability with Zend Expressive
21 July 2016 —
Comments I've been working with some different frameworks lately. One of them is Zend Expressive, and I've come to the conclusion that I don't need to choose between different frameworks; depending on the project, Expressive always fits my needs and scales from small projects to bigger applications. The Micr…
-
Dispatch REST-like requests with a single controller class in Zend Expressive
24 June 2016 —
Comments I was digging into Zend Expressive and how to use controllers that allow me to share dependencies between different routes, instead of having to use different middlewares every time. Abdul wrote a great article on this subject that you can find here, which also became part of Expressive's cookbook s…
-
Using ServiceManager 3 lazy services to improve your PHP application performance
12 June 2016 —
Comments 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 created objects are not …
-
Improving Zend\ServiceManager workflow with annotations
09 April 2016 —
Comments 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. The workflow while working with…
-
Improve dependency injection in PHP apps with Zend Framework plugin managers
31 December 2015 —
Comments 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 Advanced usage of Ser…