Re: php documentation in database?

From: Date: Mon, 11 Jan 2010 21:23:56 +0000
Subject: Re: php documentation in database?
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-6969@lists.php.net to get a copy of this message
On Mon, Jan 11, 2010 at 21:56, Pentasis <pentasis@lavabit.com> wrote: > Hello, > > I am currently working on an IDE implementation which includes PHP (not > commercially). For the purpose of auto-complete, code hinting and inline > help I need (obviously) accurate information, so I was thinking about > writing a small application to extract the functions and their description > from the PHP-documentation itself. > As I am studying the layout of the pages, I was wondering if this > documentation is maybe already maintained in a database? If you think about > it, it would make sense. It is much easier to maintain this kind of > technical detail in a database than it would be in pages. > So my question is this: Is the PHP function reference maintained in a > database, and if so, is it possible to acquire (a copy of) it? Its maintained in Docbook XML. And as with everything else on php.net, the source is available in SVN[1]. You may want to look into "PhD", it takes the xml and renders it into various formats. Of of those formats are intended for IDE creators. -Hannes [1] http://svn.php.net/viewvc/phpdoc/ [2] http://wiki.php.net/doc/phd

« previous php.webmaster (#6969) next »