Date: 03/11/01
- Next message: Lauren Matheson: "Re: [phplib] Protecting a Folder of Files with AUTH"
- Previous message: Craig Garner: "[phplib] please"
- In reply to: Stig Sæther Bakken: "[phplib] Re: [PHP-PEAR] Re: [phplib] Re: [PHP-PEAR] PHPLib and Pear merge"
- Next in thread: Stig Sæther Bakken: "[phplib] Re: Re[2]: [PHP-PEAR] Re: [phplib] Re: [PHP-PEAR] PHPLib and Pear merge"
- Reply: Stig Sæther Bakken: "[phplib] Re: Re[2]: [PHP-PEAR] Re: [phplib] Re: [PHP-PEAR] PHPLib and Pear merge"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello Stig,
Saturday, March 10, 2001, 1:56:36 AM, you wrote:
SSB> Why is PEAR DB unusable for you?
I organized my thoughts some way in the previous letter (to
Sebastian). In short, it is slow. And, I believe, it is slow not
because of bad implementation (You've done hard work to make it as
clean as possible), but because of wrong design approach. This design
would be great in C++ environment or such, but PHP is still an
interpreter, has poor OO support, and overuse of heavy OO structures here
hurts it badly.
I believe that PHP in its current state simple can not handle such a complex
structure fast enough to compete with PHPLib's DB_Sql (which I currently use).
Maybe someday PHP will handle it, then someday my current assumptions could be
proved to be wrong (I'd be happy :)). But we leave in the real world and I need
my projects to work fast just now.
SSB> PEAR is a repository, but we also aim to keep the overlap in
SSB> functionality at a minimum.
I suppose that is because of hope that PEAR will always be distributed
along with every version of PHP. I do think it is wrong idea. If
PEAR succeed, there would be a lot of stuff. The PHP distro in this
case would be rather too large to download it.
I doubt I would like to fetch all the stuff with every release. I
doubt that there are many that would like it. How many perl developers
you know, who install the whole stuff from the current CPAN? I suppose
that a good interfaces to PEAR archives (like in CPAN system) will do
the work better rather to include PEAR classes in the main PHP distro.
The idea of including PEAR in the PHP distro would work fine only on the
early stages of PEAR development, while it is small (like now), just to
popularize PEAR.
-- Best regards, Maxim Derkachev mailto:kot <email protected> Symbol-Plus Publishing Ltd. phone: +7 (812) 324-53-53 http://www.Books.Ru -- All Books of Russia--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>
- Next message: Lauren Matheson: "Re: [phplib] Protecting a Folder of Files with AUTH"
- Previous message: Craig Garner: "[phplib] please"
- In reply to: Stig Sæther Bakken: "[phplib] Re: [PHP-PEAR] Re: [phplib] Re: [PHP-PEAR] PHPLib and Pear merge"
- Next in thread: Stig Sæther Bakken: "[phplib] Re: Re[2]: [PHP-PEAR] Re: [phplib] Re: [PHP-PEAR] PHPLib and Pear merge"
- Reply: Stig Sæther Bakken: "[phplib] Re: Re[2]: [PHP-PEAR] Re: [phplib] Re: [PHP-PEAR] PHPLib and Pear merge"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

