cvs: pecl /PECL_Gen README

From: Date: Tue, 09 Nov 2004 18:29:18 +0000
Subject: cvs: pecl /PECL_Gen README
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-2000@lists.php.net to get a copy of this message
hholzgra Tue Nov 9 13:29:18 2004 EDT Modified files: /pecl/PECL_Gen README Log: refere to existing documentation instead of claiming that there isn't any http://cvs.php.net/diff.php/pecl/PECL_Gen/README?r1=1.1&r2=1.2&ty=u Index: pecl/PECL_Gen/README diff -u pecl/PECL_Gen/README:1.1 pecl/PECL_Gen/README:1.2 --- pecl/PECL_Gen/README:1.1 Thu Apr 1 13:43:26 2004 +++ pecl/PECL_Gen/README Tue Nov 9 13:29:17 2004 @@ -1,38 +1,10 @@ -sorry, no real documentation yet ... -just a short look at what is going on +PECL_Gen - a PHP extension code generator -pecl-gen gets an extension description -from an "extension.xml" file and generates working -code and documentation stubs from that +PECL_Gen (formerly known as ext_skel_ng) is a pure PHP replacement +for the ext_skel shell script that comes with the PHP 4 source. -you may look at PECL::html_parse for an example -of an extension completely created from XML source -using pecl-gen, the html_parse.xml master file -is included in CVS +It reads in configuration options, function prototypes and code fragments +from an XML description file and generates a complete ready-to-compile +PECL extension. -- module globals and ini paramter setup -- function registration and stubbs -- documentation framework -- config.m4 (only minimal for now, but already better than ext_skel) -- ... - -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 <hartmut@php.net> +For full documentation see the manual.html file included in this package.

« previous php.pecl.cvs (#2000) next »