Re: Directory layout of package
| From: | Mark Wiesemann | Date: | Sun, 13 May 2007 21:31:47 +0000 |
| Subject: | Re: Directory layout of package | ||
| References: | 1 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-4304@lists.php.net to get a copy of this message | ||
Hi Tias,
Tias wrote:
> Hi QA peepz,
>
> A question about 'PEAR Standard' directory layouts for extreme cases:
> Currently, the structure of PEAR_Frontend_Web, when installed, is the following:
>
> PEAR/WebInstaller.php
> PEAR/Frontend/Web.php
> PEAR/Frontend/Web/<all data files>
>
> The 'WebInstaller.php' file handles the _GET and _POST requests and
> translates this into PEAR_Command actions, which call the frontend
> implementation (Frontend/Web.php)
>
> Problems I have now:
> * WebInstaller.php is a very unclear and non-standard name
> * all data files are in Frontend/Web/, I whish to create a new PHP file, but I
> don't want to put it between all the data.
>
> I was thinking of the following as a replacement layout:
> /PEAR/Frontend_Web.php
> /PEAR/Frontend/Web.php
> /PEAR/Frontend/Web/Docviewer.php (the new php file)
> /PEAR/Frontend/Web/data/<all data files>
I'm not familiar with your package, but the directory structure for PEAR
packages is explained here:
http://pear.php.net/group/docs/20031114-pds.php
Regards,
Mark
--
http://www.markwiesemann.eu