Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14872 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55097 invoked by uid 1010); 12 Feb 2005 16:35:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 55081 invoked from network); 12 Feb 2005 16:35:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Feb 2005 16:35:17 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.4/2.6 Received: from ([80.74.107.235:36735] helo=mail.zend.com) by pb1.pair.com (ecelerity 1.2.11 (r4403)) with SMTP id E2/1D-37098-3403E024 for ; Sat, 12 Feb 2005 11:35:16 -0500 Received: (qmail 14025 invoked from network); 12 Feb 2005 16:35:11 -0000 Received: from localhost (HELO andi-notebook.zend.com) (127.0.0.1) by localhost with SMTP; 12 Feb 2005 16:35:11 -0000 Message-ID: <5.1.0.14.2.20050212083433.02de5da0@localhost> X-Sender: andi@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sat, 12 Feb 2005 08:35:09 -0800 To: "David Kingma | jool.nl" , "'Marcus Boerger'" Cc: "'Sean Coates'" ,"'Ante Drnasin'" , In-Reply-To: References: <5.1.0.14.2.20050211142333.02095c00@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: RE: [PHP-DEV] Autoboxing in php 5.1 From: andi@zend.com (Andi Gutmans) I think the right way to implement this is in a development tools. There is other data that needs to be gathered for creating a WSDL file such as URI, authentication (if required) etc. Andi At 12:54 PM 2/12/2005 +0100, David Kingma | jool.nl wrote: > > -----Original Message----- > > Can't you use the reflection API to get the data? > >Not yet. My first feature request would be to add a getDocComment() to the >ReflectionProperty class. You can generate a WSDL file using the reflection >API but for the xml-schema part of the wsdl file you have to manually read >the sourcecode and find the comment prepending a class property (tokenizer >or regex) :( > >Regards, > >David > > > > At 11:19 PM 2/11/2005 +0100, Marcus Boerger wrote: > > >Hello Andi, > > > > > >Friday, February 11, 2005, 8:51:16 PM, you wrote: > > > > > > > At 01:33 PM 2/11/2005 -0500, Sean Coates wrote: > > > >>Andi Gutmans wrote: > > > >>>I think phpDoc is the solution because especially as we > > start going > > > >>>into the web services realm we're going to need to document more > > > >>>complex signatures and this kind of syntax won't be > > sufficient anyway. > > > >>>We will need to have a way to document web services so > > that we can > > > >>>auto-generate WSDL files. > > > >> > > > >>It would be nice to be able to (optionally) parse phpdoc comments > > > >>with the reflection API (not only return the docComment, but also > > > >>parse it into appropriate pieces), if this is going to be > > the "official" way to do this. > > > >> > > > >>Note: I'm not making any demands... just an idea/request. > > > > > > > Yes, that could be nice. Maybe someone will write an > > ext/docComment. > > > > Shouldn't be too hard. > > > > > >We'd need a new engine function pointer, one that allows to > > interpret > > >every docComment grabbed from the script :-) > > > > > > > > >-- > > >Best regards, > > > Marcus mailto:helly@php.net > > > > -- > > PHP Internals - PHP Runtime Development Mailing List To > > unsubscribe, visit: http://www.php.net/unsub.php > > > >