Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/printer php_printer.h printer.c printer.dsp /win32 php_modules.dsw From: Björn Schotte (bjoern <email protected>)
Date: 10/29/00

Hi,

> Yes but we should start discussing on HOW to do it.
> I would like there to be a mechanism for people to see available extensions
> either via a command line command or via the web and be able to easily
> (maybe with one command) copy that extension to php4/ext followed by an
> automatic ./buildconf.

I'd like to see one or more of the following scenarios:

Firstly, we have a base which is situated on http://pear.php.net/.

This site should provide:

1.) a freshmeat.net-like announce system

2.) a category tree like on CPAN, where one can upload his modules,
    PHP C extensions etc. All uploaded things are automatically
    announced on 1.)

    Perhaps it would be good to split this category tree so that
    it fits for:

    * PEAR Modules (see 3.) ) (before publish them, they should be
      controlled so that they suffice the guidelines mentioned in
      3.) )

    * PHP C Extensions

    * "other" scripts/PHP codes that don't fit into the PEAR
      Module Guideline (see 3.) )

3.) "PEAR Module Guideline", as stated on http://pear.php.net/doc/pear.html

4.) http://pear.php.net/ or (preferred) PHP CVS should provide a command
    line tool which connects to pear.php.net and offers a browseable
    category tree on the shell, where one can tag the modules he wants to
    install, and finally presses "I" which makes:

    - downloading the selected Modules

    - throwing it into the configurred PHP base directory

    - do automatically a ./buildconf

    - chdir to the PHP base directory

    - give one some instructions how one can insert the downloaded
      modules with his configure command, e.g.:

      "You finally have to add the following to your configure line:

       --enable-foomodule for enabling the ubercool FOO Module

       --with-foodb=/path/to/foodb for enabling the foodb Module, please
                                       give the directory where foodb is situated"

      and so on. Additionally, at this point, the utility should ask the
      administrator in which directory foodb is situated and then print
      a string like "--enable-foomodule --with-foodb=/usr/local/foodb" which
      he only has to copy & paste into his configure-Script.

4.a) not only a command line tool, but there should be a "Wizard" for all
     those Windows users which don't have a shell like in 4.)

-- 
Björn Schotte ++ Heimgartenweg 11a :: D-97074 Würzburg ++ 0931/7843804
Online-Applikationen für das E-Business: <http://rent-a-phpwizard.de/>
          => inklusive Newsletter rund um PHP & das E-Biz <=
    Dienstleistungen & Preisliste: <mailto:preisliste <email protected>>

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>