Re: PEAR framework changes for PHP5
| From: | Pierre-Alain Joye | Date: | Wed, 28 Jan 2004 22:36:37 +0000 |
| Subject: | Re: PEAR framework changes for PHP5 | ||
| References: | 1 | Groups: | php.pear.core |
| Request: | Send a blank email to pear-core+get-84@lists.php.net to get a copy of this message | ||
On Wed, 28 Jan 2004 23:17:20 +0100
Tobias Schlitt <tobias@schlitt.info> wrote:
> Hi all!
>
> I did not find anything real about that on pear-dev and so for want to
> ask for the status of this? I guess the PEAR error handling should be
> switched to exceptions and stuff.
Exceptions are not errors or should not be used as PEAR_Error is used
now, at least in most cases.
I'm not a fan of wide usage of excpetions. That results in a spagetthi
mess most of the times ;)
This is something that should be debated :)
> Is anyone working on that? Are there plans what to do? Have this
> issues been discussed?
We have got some discussions, no decision or plan yet.
I'm not sure we should switch quickly with PEAR itself. At least not in
the current branch(1.x). I like to see what will really be php5
(certainly 5.1) and what is redundant between php5 new features and
pear. A good example is the Autoloader.
At the same times, a nice redesign will be a good thing. As well as some
new way to work with the package databases.
pierre