Wrapper-Factory for Zend_Cache

Ben Scholzen has written an article about using multiple Zend_Cache objects in your application.

When creating a huge application, you mostly have to keep caching out of your development environment, but want to fully control the caching backend in your production environment, without all the calls to the Zend_Cache factory in your models or controllers. I had to struggle with the problem in the past sometimes, and came to the conlusion, that a singleton-factory would solve this issue very well.

He then goes on to show code samples of how to create a factory of cache objects for use in your application.

Posted by Rob on 16th April 2009 under Around the web | Comments Off

Comments are closed.