Re: Output_Cache Module
| From: | Vinai Kopp | Date: | Sat, 24 Feb 2001 15:47:27 +0000 |
| Subject: | Re: Output_Cache Module | ||
| References: | 1 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-1495@lists.php.net to get a copy of this message | ||
Christian Stocker wrote:
> the code looks very reasonable to me and more clean than mine was :)
> maybe some optimization is necessary here and there (for example, too many
> select queries in the db modules..)
Right, I noticed but was too tired to clean it up last night. :)
> if i understood the PEAR-Standard correctly, it would be more something
> like this and in the DB-Stuff it's this way.:
>
> $php_include_path/Cache.php
> $php_include_path/Cache/Output.php
> $php_include_path/Cache/Container/file.php
> $php_include_path/Cache/Container/(other_storage_types).php
True. I didn't like the scripts being called file.php, shmv.php or
db.php. I like more descriptive filenames, that also jog my memory out
of context, but lets stick with the PEAR standard.
> And last, but not least: What are the chances to get that into PEAR? What
> are the requirements?
I'll have a closer look at Sebastian Bergmanns Function_Cache in PEAR
Cache to see how that could fit in.
Shouldn't be too difficult to comply with the PEAR standards :)
Vinai