Re: Extending Net/
| From: | Chuck Hagenbuch | Date: | Thu, 25 Jan 2001 23:32:07 +0000 |
| Subject: | Re: Extending Net/ | ||
| Groups: | php.pear | ||
| Request: | Send a blank email to php-pear+get-1176@lists.php.net to get a copy of this message | ||
Quoting Joey Smith <joey@joeysmith.com>:
> I'm curious as to what the plans are for the "Net" section of PEAR.
> While I realize that many of the things that exist in CPAN's Net section
> are frequently compiled in to PHP, it would be nice to be able to access
> these through the PEAR standard interface.
I don't really buy the argument. Everything you list (except for telnet, scp,
ssh, which are thorny all by themselves) is already available natively. Why
write a wrapper that just wraps those native calls? It's overhead. I've written
libraries that specifically deal with IMAP folders, for example, but that adds
a lot of specialization, and wraps a _ton_ of work that can't be done just by
the imap_* functions. It's also not something I'd consider appropriate for
PEAR - it's as general as I thought I could sanely make it, but it still makes
assumptions that not everyone may want to make.
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
Entropy. It's what's for dinner.