Hi all,
As part of my tinkering to get caching more closely integrated into the
framework, I am pleased to announce two additional proposals which are ready
for community review. In a previous announcement I mentioned
Zend_Cache_Backend_Static and Zend_Cache_Backend_Database, in addition to a
small refactoring of Zend_Cache itself to shift responsibility for validating
tags and cache ids to the backends.
Into this chaos I've added...
Zend_Cache_Manager
http://framework.zend.com/wiki/pages/viewpage.action?pageId=9437207
As a springboard to other proposals, Zend_Cache_Manager is intended to be a
centralised Manager which is capable of creating, adapting, storing and
otherwise tinkering with caches from one single location. It's other advantage
from an ease of use view is that it offers a collection of lazy loaded
preconfigured caches to play with before you even write a configuration file.
Zend_Controller_Action_Helper_Cache
http://framework.zend.com/wiki/pages/viewpage.action?pageId=9437372
The Cache Helper for Controllers offers an API for easy access to a Cache
Manager (Zend_Cache_Manager) which stores application caches in a central
location. It also enables a form of Page Caching which is best suited to full
page caching of rendered output to static HTML/Other files, as well as offering
methods to delete such caches either by their relative URL on the server or by
tag matching.
Your comments on these proposals would be appreciated. Please note, that all
source code to date (at present Zend_Cache refactoring and
Zend_Cache_Backend_Static), including the unit tests, is now available from a
git repository at http://github.com/padraic/zfcache. If you are not yet
familiar with git, you can simply download the current revision of the source
code from the same location.
Best regards,
Paddy
Pádraic Brady
http://blog.astrumfutura.com
http://www.survivethedeepend.com
OpenID Europe Foundation Irish Representative