Re: Javascript repository or package for PEAR
| From: | Bertrand Mansion | Date: | Sun, 02 Feb 2003 10:27:46 +0000 |
| Subject: | Re: Javascript repository or package for PEAR | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-12921@lists.php.net to get a copy of this message | ||
<mbretter@jawa.at> wrote :
> Hi,
>
> I'm currently writing a package where I need many javascript's. Is there
> already a place in pear where js-files are?
> Currently I have these under a js-dir in the package-dir, but this is
> not a good solution, because I must include them with php-include and
> can not use the <script> tag for this.
>
> IMHO ist better to have all the JS stuff on one place, but in each package.
>
> How about a JS-package?
>
> Any other ideas, opinions?
-1, IMO it would be better to have javascript for each package in their own
directory structure. At the moment, it looks like every special files like
js or images will end up in a data directory upon installation. Have a look
at HTML_TreeMenu.
Regards,
Bertrand Mansion
Mamasam