List Info

Thread: Looking for a package-name: PHP::Prototypes




Looking for a package-name: PHP::Prototypes
user name
2006-05-29 22:49:54
Hi Bertrand

The only extension that fully supports it is ext/spl.
That said, I'm working on the rest...

-Hannes


On 5/30/06, Bertrand Mansion <bmansionmamasam.com> wrote:
> Jan Kneschke wrote:
>
> >
> >Hi,
> >
> >For the PHP::Shell 0.2.7 I wanted to add inline
docs for the internal
> >php-functions like fopen(), ArrayObject::append()
and so on.
> >
> >Based on the xml_proto.php code from phpdoc I wrote
a Class which
> >seperated the code between parsing and generating
something from it a
> >bit more. The idea is to have a single prototype
parser and multiple
> >generators:
> >
> >- a PHP-class like the PHP_ShellPrototypes.php
class
> >- docbook-XML stubs for phpdoc
> >- ...
> >
> >You can see the code I used for the
PHP_ShellPrototypes at:
> >
> >http://jan.kneschke.de/projects/php-shell/PHP_P
rototypes.php.html
> >
> >I used
> >
> >$ find php-5.1.4/ -name '*.c' | xargs cat | \
> >  php php-shell/PHP_Prototypes.php >
php-shell/PHP_ShellPrototypes.php
> >
> >As others might want to use the output of the
parser for there own needs
> >it might be a good idea to include it into PEAR.
The PHP_Shell will use
> >it, perhaps the phpdoc team likes to use it too,
IDEs/Editors with
> >syntax hightlighting and completion need the data
too, ....
> >
> >Now I'm looking for a good name for the package
and a way to layout the
> >files. For now I use
> >
> >PHP/Prototypes/Parser
> >PHP/Prototypes/Generator/Class
> >PHP/Prototypes/Generator/Docbook
> >
> >as layout.
> >
> >Is PHP::Prototypes a obvious choice for the
namespace ? Or is it
> >implying that is prototypes a php-application ?
>
> Hi Jan,
>
> Is there any reason why you can't you use the
reflection API for that ?
> <http:
//fr3.php.net/language.oop5.reflection>
>
> --
> Bertrand Mansion
> Mamasam
> Tel : +33 1 48 89 88 26
> http://www.mamasam.com
> Creative Internet Solutions
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub
.php
>
>

-- 
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php

Looking for a package-name: PHP::Prototypes
user name
2006-05-30 07:00:16
Hannes Magnusson wrote:

>Hi Bertrand
>
>The only extension that fully supports it is ext/spl.
>That said, I'm working on the rest...

I naively thought reflection was available now for every php
functions. Thanks
for letting me know.

--
Bertrand Mansion
Mamasam
Tel : +33 1 48 89 88 26
http://www.mamasam.com
Creative Internet Solutions

-- 
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )