On Fri, Jun 5, 2009 at 01:00, Philip Olson<[email protected]> wrote:
> Hello everyone,
>
> Today I played around with the xhprof extension:
>
>  http://pecl.php.net/xhprof
>
> It's nice, but lacks official documentation. Let's discuss how we document
> extensions that include optional helper libraries, so for example:
>
>  xhprof  --> xhprof UI
>  inclued --> graphviz.php

ext/phar bundles command line application called "phar" which has
massive amount of options and stuff.
pecl/apc bundles apc.php.. (doesn't really need docs?)


> Basically it comes down to the following options (please also think of
> others):
>  A) Suggest the helper be a PEAR package (PEAR Manual)
>  B) Simply add examples of its use in the PHP manual
>  C) Determine DocBook syntax, and fully document it within the PHP manual


I have always seen the extension docs on php.net as API docs, with
usage examples and maybe basic tutorials.
Documenting applications using the extension / helpers feels a bit out
of scope to me.

I recently found out about the 'phar' command which is bundled as of
PHP5.3.0. It doesn't seem to have any test cases whatsoever and the
whole thing seems very weird to me.

If we start documenting these things too we cannot really create basic
skeletons that covers all possible applications and helpers so
consistency is almost out the window right away.

If these things end up being documented here then I think we should
just allow the individual authors to come up with their own structure
(obviously helping them along the way).

-Hannes

Reply via email to