Re: Re: Net_FTP design issues

From: Date: Thu, 14 Oct 2004 17:57:04 +0000
Subject: Re: Re: Net_FTP design issues
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-33864@lists.php.net to get a copy of this message
> >> However I think it could become PHP_Combat_FTP or something as a > >> separate package (especially since it adds a dep on the socket ext?) > > > > Why should this add a dependency on ext/sockets? > > I think this will require a call to fsockopen() as only client > > functionality is needed. > > k .. i wasnt sure :-) > > anyways I still think it should be separate .. how many functions are we > talking here? php.net/ftp lists 34 ftp functions + 10 constants. Currently there are ready drafts to 15 functions using sockets. > > I would say if its more than 5 functions we should make it a separate > package. Even then I think it would be a good example to set putting > entire ext emulations into their own PHP_Compat_Foo package instead of > quickly bloating PHP_Combat into an insane size by future similar solutions. What about Michael´s idea? "Create new category for PHP code redefining whole PHP extensions" - Hannes

« previous php.pear.dev (#33864) next »