Re: Re: Packaging

From: Date: Tue, 19 Aug 2003 21:49:16 +0000
Subject: Re: Re: Packaging
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-20107@lists.php.net to get a copy of this message
On 19 Aug 2003 at 17:19, Greg Beaver wrote: > David Grant wrote: > > >I don't mind how it looks, only how it works. I chose PEAR and PECL > ><sad>because they're the same length</sad>. Surely a file called > >(PEAR|PECL|PHP|Whatever).php, is extremely confusing (which is why I > >didn't suggest it)? > > > It might be, but in the context of the require_once statement, I don't > think so: > > require_once 'File/Ogg/PEAR.php'; > > You could also use File/Ogg.php, and File/PECLWrapper/Ogg.php, which > might make more sense - then you remove PEAR/PECL from the filename How about: File/Ogg.php File/Ogg/PEAR.php File/Ogg/PECL.php File/Ogg/Vorbis.php File/Ogg/Vorbis/PEAR.php File/Ogg/Vorbis/PECL.php ? This way you can include Vorbis.php and use it (no matter if the PECL extension is installed and could be used). > I must admit that reads to me like caveman speak, "File Ogg PEAR" ;). > The question is who is File, and is it painful to be Ogged? I > remember from my days of playing netrek at school that ogging was > quite a painful experience for opponents :) Hmm, caveman wasn't part of my language courses up to now - but good to know about those things :-) Stefan

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