You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Hartmut Holzgraefe 5c782a6f50 'stream' parameter support in proto parser and code generation 23 years ago
..
README next generation ext_skel script - initial checkin 23 years ago
TODO more todo items 23 years ago
config_m4.php unfinished work towards towards refactoring of extension_parser.php 23 years ago
dummy.gif - code generation: resources and phpinfo logo 23 years ago
ext_skel_ng.php - make sure we are running on PHP 5 23 years ago
extension.dtd platform specification now possible for libraries and extension 23 years ago
extension.xml config.m4 generation revisited 23 years ago
extension_parser.php add 'extern "C"' where needed for C++ 23 years ago
license.php license comment headers and license files are now created 23 years ago
license_bsd.php license comment headers and license files are now created 23 years ago
license_lgpl.php license comment headers and license files are now created 23 years ago
license_php.php license comment headers and license files are now created 23 years ago
php_constant.php stupido :( 23 years ago
php_element.php new proto data type: stream 23 years ago
php_function.php 'stream' parameter support in proto parser and code generation 23 years ago
php_global.php module global variables and ini parameters now have 23 years ago
php_ini.php module global variables and ini parameters now have 23 years ago
php_logo.php php 5 constructor style and whitespace 23 years ago
php_resource.php constructor proto change 23 years ago
xml_stream_callback_parser.php php 5 constructor style and whitespace 23 years ago
xml_stream_parser.php support arrays of error messages in addition to single strings 23 years ago

README

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>