Re: Packaging
| From: | Greg Beaver | Date: | Tue, 19 Aug 2003 21:04:19 +0000 |
| Subject: | Re: Packaging | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-20101@lists.php.net to get a copy of this message | ||
Hi David,
I'd consider using this structure:
File/Ogg.php
File/Ogg/PEAR.php
File/Ogg/PECL.php
File/Ogg/Vorbis/PEAR.php
etc.
Others can comment on the choice of names, I wonder if PEAR should instead be PHP, to describe the difference that it's coded in PHP, and the other is a wrapper?
maybe PEAR.php and PECLwrapper.php?
I dunno,
Greg
David Grant wrote:
Hi List, I want to package a file for File_Ogg, and I have the following files: File_Ogg.php File_Ogg_PEAR.php File_Ogg_PECL.php File_Ogg_Vorbis_PEAR.php File_Ogg_Vorbis_PECL.php How should I structure the directories? I would've thought it was logical to put File_Ogg.php into File/, but what about the PEAR and PECL extensions? Everything else would be put into File/Ogg/ (I guess). Is this correct? Regards, David