Re: the future
| From: | Alan Knowles | Date: | Sat, 26 Jul 2003 10:39:11 +0000 |
| Subject: | Re: the future | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-1108@lists.php.net to get a copy of this message | ||
From testing LiveUser, on peardoc, the following are the differences that I found.
- PECL is out of sync with phpdoc = this is probably historical as we branched off before they changed to single file per function.
- phpdoc uses the pattern refnamediv/refname, peardoc uses div/refentry
* I believe this is to allow us to have categories with packages, rather than ending up with a big list of packages.
- generally the function/method definition format is different
phpdoc:
<methodsynopsis>
<type>object</type>
<methodname>DomDocument->create_element</methodname>
<methodparam>
<type>string</type>
<parameter>name</parameter>
</methodparam>
</methodsynopsis>
peardoc:
<funcprototype>
<funcdef>
array
<function>getAssoc</function>
</funcdef>
<paramdef>
string
<parameter>$query</parameter>
</paramdef>
<paramdef>
boolean
<parameter>
<optional>$group = &false;</optional>
</parameter>
</paramdef>
</funcprototype>
No idea why that was different - looking at phpdocs format, it looks cleaner, and even more powerfull... - Did we fork off an old version?
It takes about 2 hours to get a grip of livedocs, if someone has the time it's probably worth having another look. as I believe its been updated alot since I last attacked it.
Regards
Alan
Lukas Smith wrote:
Hi, ok so I hope people on this list actually care ... actually I hope there are even people on this list .. it seems like the PHP doc folks are moving forward with some nice stuff as we have seen in the summary that Derick posted. I think would be wise for us to "tag along". Hereby I mean that we use their Standards, because this is what their entire infrastructure will support (Bitflux, Livedocs etc.). This also means that cooperation will be much easier. Especially since the PHP doc folks want to have PECL in their format. This would also make it possible to simply reuse the PEAR docs for a package that gets ported to C in PECL etc. As they are currently doing things we should quickly move if we have any ideas/needs that have to be taken into account. What are the differences between peardoc and their stuff? Why was that added? Etc. These are important questions we need to address quickly (Alex?!?) Regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07