Re: standards etc..
| From: | Daniel Andersson | Date: | Thu, 23 Aug 2001 17:38:39 +0000 |
| Subject: | Re: standards etc.. | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-1676@lists.php.net to get a copy of this message | ||
okay.
sound quite logical except for the "at the root directory".
read something here about top-level-directories, like
/
HTML/
FORM/
main.php
css_extension.php
TABLE/
main.php
td_span.php
XML/
...
and assumed this was the directory structure that pear was using.
i have to admit that i haven't looked into pear very much, except for
reading about it on php.net and reading most messages on news.php.net.
but from what i've gathered it doesn't seem to be very organised, at the
moment that is.
so, that's sort of why i'm asking this.
'cause _IF_ stuff haven't been decided and you are still changing major
stuff, then i'd love to help (if i can).
if not, then i'll just shut my mouth :o)
thanks again
/ d
----- Original Message -----
From: "Martin Jansen" <mail@martin-jansen.de>
To: "Daniel Andersson" <daniel@avantnoise.com>
Cc: <pear-dev@lists.php.net>
Sent: Thursday, August 23, 2001 18:25
Subject: Re: [PEAR-DEV] standards etc..
> On Thu, 23 Aug 2001 17:38:33 +0100, Daniel Andersson wrote:
>
> >been there, but didn't see anything about "directory structures".
> >
> >i'm just curious about the whole project and as far as i can tell from
the
> >news-group, there isn't much of standards set.
>
> Currently we are having some troubles with a unified directory
> structure, because we are using two different repositories for
> PEAR code. But once this will be cleaned up (this will happen
> as soon as the installer code is set up), the structure will
> look as follows:
>
> Imaging you are having a class you have called Money_Fast. If you want
> to commit it to PEAR, you create a new directory at the root directory
> of the repository and call it Money_Fast (the name of the directory
> is always the same then the name of the package, you want to commit).
> In this directory you commit all your code. Into this directory you
> also have to commit a file called package.xml (for an example see
> http://cvs.php.net/co.php/pear/Net_Ping/package.xml). This file
> contains the information about your package.
>
> The installer package will then build a TAR-archive Money_Fast.tgz
> which is made available through the infrastructure at
> http://pear.php.net/ or through a command line installation
> tool.
>
> - Martin
>
>