Obsoleting PEAR.php
| From: | Sterling Hughes | Date: | Thu, 15 May 2003 22:17:43 +0000 |
| Subject: | Obsoleting PEAR.php | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-16333@lists.php.net to get a copy of this message | ||
Hi,
Well, ok, I guess I'm either starting a flamewar, or rehashing something
that's already been decided. Poo Tee Weet.
One of my major problems with PEAR is the underlying framework. Nearly
every class in PEAR seems to extend from the PEAR base class, when its
really not required for most of them [1]. The end result of this is
*slower* code that is a part of the framework. I suggest that for now
we start removing the usage of the PEAR class from the large majority of
code in PEAR. This should speed up the code considerably (no extra
overhead).
There are some further optimizations that can be done (mostly relating
to PHP5), which I guess I'll bring up at a later point.
-Sterling
[1] With PHP5, this is even less necessary
--
"Programming today is a race between software engineers stirring to
build bigger and better idiot-proof programs, and the universe trying
to produce bigger and better idiots. So far, the universe is winning."
- Unknown