Re: web-services and alike

From: Date: Tue, 12 Feb 2002 10:10:51 +0000
Subject: Re: web-services and alike
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-4635@lists.php.net to get a copy of this message
On Tue, 2002-02-12 at 01:14, Wolfram Kriesing wrote: > may be this post seems a little strange. > But since i discovered XML-RPC a little while ago (thanks to Stig's > installer) i really want to implement some web services, just to get > more into it. > Since i think XML-RPC is really a cool thing and it can be used to > really push something onto the web which didnt exist until now :-). > For example, which is probably one of the simplest: a friend was > asking me if i didnt have a web-service for retreiving stock rates. > So i am just trying to collect some ideas here, may be some of them > also fit in PEAR. > > The main problem is to have people/companies provide content this > way, right? > So may be we can implement some kind of system, PEAR-based of course, > which makes it easy to "build" web-services. > Well, just some thoughts :-) > > any ideas? > looking forward to your guys' input This topic has been up for a while, and it is definitely something that it's important to make easy-to-do in PHP. I'd like to be able to just "flag" functions that I want to expose through an rpc mechamism, without having to do full declarations for each one. For example in pearweb/include/pear-database.php, we have a "proto" comment before each function that is available with XML-RPC, and some code to parse these comments and generate signatures. It's a hack, but IMHO a clean version of this is just what PHP needs. - Stig

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