Re: Net_FTP design issues

From: Date: Thu, 14 Oct 2004 16:54:19 +0000
Subject: Re: Net_FTP design issues
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-33857@lists.php.net to get a copy of this message
> > Well what you then are providing is just a compatibility layer for > > people who dont have the ext? > > > This is going in the direction of PHP_Compat. Generally I find it very > > cool to have this as a fallback solution available. > > > So maybe this should be a separate package, since I assume you also want > > to add functionality? The added functionality should in the spirit of > > PEAR be OO code. > > The general socket implementation should (IMHO) have no added > functionality, but just emulate the FTP ext. Added functionality will be > found in the main Net_FTP class (as it is now). That socket thingie *shall not* have any extra functionality, that job goes to Net_FTP class it self. The point with the socket implementation is *only* to be fallback solution when the "real ftp extension" isn't available. In general I love fallback solutions for "real extensions". -Hannes

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