Re: Directory layout of package
| From: | Mark Wiesemann | Date: | Mon, 14 May 2007 20:49:26 +0000 |
| Subject: | Re: Directory layout of package | ||
| References: | 1 2 3 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-4310@lists.php.net to get a copy of this message | ||
Hi,
Tias wrote:
I am familiar with the guidelines as written in the manual (http://pear.php.net/manual/en/group.php#group.directory_structure, the same content as in the link you gave). [...]
PEAR_Frontend_Web is a webfrontend for PEAR, the default frontend is CLI, which looks like this: PEAR/Frontend/CLI.php (implements PEAR/Frontend.php) Logically, my package should have (by the standard: PEAR/Frontend/Web.php (implements PEAR/Frontend.php) PEAR/Frontend/Web/ (contains subclasses) PEAR/Frontend/Web/data (contains data).Just a comment on this last cited line: data files should have the role "data" in package.xml, so that they are *not* installed in the PEAR directory, but in the data directory. And according to the manual and the Group document, is should just be data/, not PEAR/Frontend/Web/data/ (that's at least my interpretation of it). Regards, Mark -- http://www.markwiesemann.eu