php-src/scripts/ext_skel_ng
2003-03-20 20:20:37 +00:00
..
dummy.gif - code generation: resources and phpinfo logo 2003-02-24 10:57:48 +00:00
ext_skel_ng.php support for passing description file name on command line 2003-02-28 06:33:07 +00:00
extension_parser.php protect string from CVS keyword expansionCVS: ---------------------------------------------------------------------- 2003-03-20 20:20:37 +00:00
extension.dtd some DTD fixes and <code> as a toplevel element for .c and .h code snippets 2003-02-28 06:28:14 +00:00
extension.xml - code generation: resources and phpinfo logo 2003-02-24 10:57:48 +00:00
php_constant.php thinko fix to kill warnings 2003-03-15 22:37:03 +00:00
php_element.php added "callback" type (and fixed a stupid typo) 2003-02-28 06:28:53 +00:00
php_function.php make sure the function name in the proto matches the function 2003-03-15 22:34:32 +00:00
php_logo.php forgot to add these two on my last commit :( 2003-02-26 10:06:47 +00:00
php_resource.php docbook typo fix 2003-03-15 22:35:34 +00:00
README next generation ext_skel script - initial checkin 2003-02-19 10:07:22 +00:00
TODO callbacks are now supported 2003-02-28 10:30:40 +00:00
xml_stream_callback_parser.php next generation ext_skel script - initial checkin 2003-02-19 10:07:22 +00:00
xml_stream_parser.php "on line #", not "in line #" 2003-02-28 06:30:59 +00:00

sorry, no real documentation yet ...
just a short look at what is going on

ext_skel_ng.php gets an extension description
from an "extension.xml" file and generates working
code and documentation stubs from that

call "php ext_skel_ng.php" to see it at work,
it will create a dummy extension including 

- module globals and ini paramter setup
- function registration and stubbs
- documentation framework
- config.m4 (only minimal for now)
- ...

almost every aspect of an extension may now be 
configured using one xml description file instead
of the old mixture of command line parameters
and a proto file

it is even possible to embed function code into
the xml description right away, so it should be
possible to create complete working extensions
from just the xml description without further
editing in a not to distant future

for now almost all the 'helpfull comments' have 
been removed from the generated code. some of
them (like 'uncomment this if you have ini params)
just don't make sense anymore, others will come
back (configurable) at a later state 

... have fun!

Hartmut Holzgraefe <hholzgra@php.net>