Re: cache interfaces
| From: | Davey Shafik | Date: | Mon, 25 Apr 2005 16:36:21 +0000 |
| Subject: | Re: cache interfaces | ||
| References: | 1 | Groups: | php.pear.dev php.pear.dev |
| Request: | Send a blank email to pear-dev+get-37403@lists.php.net to get a copy of this message | ||
Strangely enough, the use of interfaces for cacheing mechanisms is an idea I had just last week for Crtx_Cache.
I would very much like to see this discussed and to take part is said discussion.
- Davey
Ryan King wrote:
Would the developers of the caching packages (Cache and Cache_Lite) be interested in creating a cache interface (once they go php5-only)? I think this could be quite useful in some situations. For example, right now I'm suggesting that James might want to allow people to pass in a cache_lite object to services_technorati, rather than doing all the cache configuration within services_technorati. In the future, having an interface for the basic cache operations would allow the various caching packages to be used interchangeably in this situation. Just a thought I'd like to throw out there while I'm thinking about it. -ryan -- http://theryanking.com/