Re: cvs: php4 /pear/Cache Cache.php Function_Cache.php /pear/Cache/Container cache_container.php cache_container_file.php
| From: | Chuck Hagenbuch | Date: | Thu, 01 Mar 2001 15:47:23 +0000 |
| Subject: | Re: cvs: php4 /pear/Cache Cache.php Function_Cache.php /pear/Cache/Container cache_container.php cache_container_file.php | ||
| Groups: | php.pear | ||
| Request: | Send a blank email to php-pear+get-1517@lists.php.net to get a copy of this message | ||
Quoting Sebastian Bergmann <sb@sebastian-bergmann.de>:
> Added files:
> /php4/pear/Cache Cache.php
> /php4/pear/Cache/Container cache_container.php
> cache_container_file.php
If you want to stick to the way that we've been naming PEAR classes, these
should be organized like this:
Cache.php
Cache/
Container.php
Container/
file.php
> Removed my old Function_Cache class implementation. Initial commit of the
> multi-purpose Cache System Ulf Wendel and I worked on the last couple of
> days. In this first phase I commit the Cache base class, the Cache Container
> Base class and the File-based Cache Container. During the next couple of
> hours I hope to finish the Cache Container classes for caching with PEAR/DB,
> PHPLIB/DB_Sql and Native MySQL Heap Table support. I also have working
> versions of classes extending Cache, namely Function_Cache, Graphics_Cache
> and Output_Cache. Bare with me, tomorrow at the latest PEAR/Cache will be a
> extensive and efficient means for general caching purposes, besides
> specialized caching for graphics.
For reference, the classes you mention would go:
Cache/
Container/
sql.php
phplib.php
mysql.php
Function.php
Graphics.php
Output.php
... and the classnames of those last three should be Cache_Function,
Cache_Graphics, and Cache_Output.
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
"We have no fuel on board, plus or minus 8 kilograms." -A NASA scientist