Re: Re: cvs: php4 /pear Makefile.in/pear/CacheFunction_Cache.php
| From: | Stig S. Bakken | Date: | Mon, 11 Dec 2000 09:44:18 +0000 |
| Subject: | Re: Re: cvs: php4 /pear Makefile.in/pear/CacheFunction_Cache.php | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-644@lists.php.net to get a copy of this message | ||
Chuck Hagenbuch wrote:
>
> Quoting Sebastian Bergmann <sb@sebastian-bergmann.de>:
>
> > True, but there are things like the cache_*() functions that should be
> > functions, and not classes.
>
> All I'm asking is that you justify that statement. Static classes are possible
> in php, and are currently the only way we have of curtailing namespace impact
> right now.
>
> There's been a lot of discussion recently on making php work better for
> enterprise needs; one of the things that would help this is to have the
> infrastructure that we use - things like PEAR classes - be very clean in their
> use of the global namespace.
I agree. We already have a few methods that are only used as static
methods, such as PEAR::isError() and DB::connect().
- Stig