<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[
<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[
Zend_Cache is a generic caching module designed for high performances and for First, the user use a static Zend_Cache::factory() call with backend, frontend Note : for perfs reasons, if you don't want any specific frontend, the Then, the user will use this "ready to use" object. Available methods The main part of the "real work" of these methods will be delegated to theZend Framework: Zend_Cache Component Proposal
Proposed Component Name
Zend_Cache
Developer Notes
http://framework.zend.com/wiki/display/ZFDEV/Zend_Cache
Proposers
Fabien MARTY
Mislav MAROHNIC
Revision
1.1 - 1 August 2006: Updated from community comments. (wiki revision: 13)
Table of Contents
1. Overview
a really safe use (file locking, anti-corruption tests...) even on really high
load. The core of Zend_Cache is really flexible and can be used to cache any
types of datas. Some frontends are available for specific caching needs (output
buffering, "method calls" caching...). Cached datas are stored by the choosen
backend (in files, in a SQLITE database...).2. References
3. Component Requirements, Constraints, and Acceptance Criteria
4. Dependencies on Other Framework Components
5. Theory of Operation
names and options as arguments. The factory builds the corresponding
Zend_Cache_Frontend_* object (which extends Zend_Cache_Core), sets the
corresponding backend object inside it, set corresponding options (for backend
and frontend) and returns the "ready to use" frontend.
factory() method will return directly a Zend_Cache_Core object.
depend on frontend type but for a classical use, there are 5 main methods :
corresponding backend object by the core.
6. Milestones / Tasks
Please see example milestones and then update this section
7. Class Index
- Zend_Cache (public)
- Zend_Cache_Core
- Zend_Cache_Exception
- Zend_Cache_Backend_Interface
- Zend_Cache_Backend_File
- Zend_Cache_Backend_Sqlite
- Zend_Cache_Frontend_Class
- Zend_Cache_Frontend_File
- Zend_Cache_Frontend_Function
- Zend_Cache_Frontend_Output
8. Use Cases
Use of the Core:
Use of the Output buffering frontend:
2 Comments
comments.show.hideApr 25, 2007
Eric David
<p>Could I suggest that all the error suppressing @ signs be removed from Zend_Cache_Backend_Sqlite? If a server does not have sqlite enabled they should get the "Fatal error: Call to undefined function sqlite_open()" error message, but since the error is both fatal and suppressed you just get a blank screen and no indication of what is wrong.</p>
Jun 12, 2007
Eric David
<p>Another suggestion, please change the function _makeId($name, $parameters) in the Zend_Cache_Frontend_Function class from private to protected. Classes extending this frontend will definitely need this method.</p>