Re: Package Proposal: UDDI

From: Date: Mon, 11 Aug 2003 17:11:21 +0000
Subject: Re: Package Proposal: UDDI
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-19515@lists.php.net to get a copy of this message
Christian, There are a few questions I have, and a few suggestions. Questions first :) Have you considered using one of the PEAR classes for handling HTTP, such as HTTP_Request, instead of hard-coding the request in the method? You also might find Stephan Schmidt's XML_Util to be very useful in constructing the xml. For a package as small as this, it would make sense to just extract the methods you would use. Suggestions: The documentation is written in an obsolete format, check out http://www.phpdoc.org/manual.php for details. This should be fixed before the first release. Examples: @const is unnecessary you have class-level documentation in front of your require_once, put it in front of the UDDI definition. The comment at the bottom of the file should be part of the class comment, and should have the example enclosed in <code></code> so phpDocumentor will highlight it. Also, 2 points that must be in the release for me to +1 You need to provide a brief description of the problem that this class (and UDDI) solves, and how the class describes it at the top of the docs, just grab something from the top of uddi.org and use a @link tag to reference the full description. There's no reason for you to extend PEAR, or even reference PEAR, you don't even use any of the features (bloat) of the class :) Also, is it GPL? I don't care, but PEAR does :) It should be LGPL, BSD or PHP license (or something that is equally open-source and non-restrictive) That's all, Greg Christian Wenz wrote:
Hi all, we (meaning Tobias Hauser and myself) have been working with UDDI quite a lot in the last months and have also used the PHP package phpUDDI. It provides a set of easy-to-use PHP classes for Web Services discovery and publication using UDDI. We would find it a cool idea to put this package into PEAR, section "Web Services", it would IOHO fit there quite nicely. We've contacted the original authors. They both do not have the time right now to further maintain the package and agreed to let us take over for some time. In a first step, we PEARified the available version 0.3 of phpUDDI, you can find the source code and a bit of documentation here: http://www.weblayout.de/playground/UDDI.phps This is basically a minimally altered version of phpUDDI according to the PEAR coding standards; this is why we do not have implemented the PEAR error handling yet, for instance. However we do have further plans to extend and partially rewrite the class. So before we continue to work further on phpUDDI "the PEAR way", we of course want this list to vote on this. Again, we really think that this class would fit nicely into PEAR; if approved we would always provide a PEARified version of the current phpUDDI version. Comments are appreciated. -Christian


« previous php.pear.dev (#19515) next »