Easy Cache Configuration With StorageCacheAbstractServiceFactory
Want an easy way to configure caching in ZF2 applications? Today’s shows you how with a little-known option StorageCacheAbstractServiceFactory.
Want an easy way to configure caching in ZF2 applications? Today’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’re creating? Today’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’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’s post, we explore that and how to implement constructor injection in ZF2 controller classes.