Re: the future

From: Date: Mon, 28 Jul 2003 12:03:45 +0000
Subject: Re: the future
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-1122@lists.php.net to get a copy of this message
Lukas Smith wrote:
What are the differences between peardoc and their stuff? Why was that added? Etc. These are important questions we need to address quickly (Alex?!?)
According to Martin, we have no resources currently to build up an own infrastructure for transforming docbook into something readable. So we must stick to the phpdoc stuff. On the other hand, i have a big problem with sticking to them. PEAR have other requirements to documentation then PHP and the extensions - see my discussion with Greg about abstract functions and how to document to extend classes. Peardoc1 was a copy of phpdoc but it doesn't work due to the package/class orientation PEAR - for an exercise: try to write docs for HTML_Template_Flexy using the *flat* phpdoc structure. That is the main difference between phpdoc and peardoc: top->extension->function vs. top->package->class->function The second difference is, peardoc gives you more information about an function in standarized way (and not in floating text). An other problem of PEAR is, that we can have an function name more then once ie toString - while each function name of an extension is unique: template_to_string. So the discussion about having www.php.net/toString for PEAR makes no sense - there would be no difference to a fulltext search... My suggestion is: instead of thinking about how to integrate Peardoc into the Phpdoc build mechanismen, we should start to work on the Peardoc build mechanismen and integrate Phpdoc :-) Or to draw an image: peardoc is an truck, phpdoc is an Trabi, it makes no sense to drive an truck into an garage of a Trabi.

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