Re: [PHP-PEAR] Output_Cache Module

[email protected] (Vinai Kopp) Sat, 24 Feb 2001 16:47:27 +0100
Newsgroups php.pear
Message-ID <[email protected]>
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