Re: [PHP-CVS] cvs: php4 /pear/Cache Cache.php Function_Cache.php /pear/Cache/Container cache_container.php cache_container_file.php

[email protected] (Chuck Hagenbuch) Thu, 1 Mar 2001 10:47:23 -0500
Newsgroups php.pear
Message-ID <[email protected]>
Quoting Sebastian Bergmann <[email protected]>:

>   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, <[email protected]>
"We have no fuel on board, plus or minus 8 kilograms." -A NASA scientist