Want an easy way to configure caching in ZF2 applications? Today&rsquo;s shows you how with a little-known option StorageCacheAbstractServiceFactory.
Do you need access to a service from the ServiceManager in a custom Controller Plugin you&rsquo;re creating? Today&rsquo;s tutorial shows you just how to do it, in a testable and documentable way.
In this tutorial, we see how to use abstract factories to configure the ServiceManager in Zend Framework 2. It&rsquo;s one of the simplest approaches available.
Is it right to use setter injection? Or is it evil, to be avoided at all costs, for the explicitness of constructor injection? In today&rsquo;s post, we explore that and how to implement constructor injection in ZF2 controller classes.