Re: Generation of peardoc - performance

From: Date: Sun, 22 Feb 2004 03:53:27 +0000
Subject: Re: Generation of peardoc - performance
References: 1 2 3  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-2671@lists.php.net to get a copy of this message
Rough overview: step1: - xlst transform (using xlstproc) manual 'index points (eg. pages)' into sqlite step2: - parse manual (using PHP) for all &defined.entities; and store in sqlite step1 & 2 need doing every time you add a new page or pages step3 (on-the fly) - eg. when you request the url. look up in sqllite the correct XML file that relates to the request preg_replace all the &defined.entities; with <phpdoc name="....."> values. Then use xml_parse() to parse the resulting XML file, and map it into HTML (using a map of tags->methods), similar to XML_Transformer.. pear's version source: http://devel.akbkhome.com/svn/index.php/akpear/LiveDocs/ on-the-fly... http://devel.akbkhome.com/livedocs/livedoc.php Regards Alan Tobias Schlitt wrote:
Alan Knowles wrote:
That was part of the reason for doing livedocs.. - the php manual build used to take a day or something....
So, what exactly is "livedocs"? Just generating the documentation instantly. when it arrives? Regards, Toby
-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com

« previous php.pear.doc (#2671) next »