The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Other
> Development Articles
|
Using XML-RPC with PHP
Discuss Using XML-RPC with PHP in the Development Articles forum on Dev Shed. Using XML-RPC with PHP Development Articles forum discussing articles and tutorials located at http://www.devshed.com. See what our authors have created for your viewing pleasure.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

December 21st, 2001, 01:53 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
:-O
I was writing to the guys at Devshed an email, about how neat would be a XML-RPC tutorial, specifically with PHP. While I'm at it, I open my browser and check Devshed and I find this.
Creepy. Nifty, but creepy :)
|

December 21st, 2001, 04:52 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
[no subject]
great job..
this one really rocks!
gives me something to do for the next 3 hrs
ssh-ing.... mug handy...
|

December 21st, 2001, 03:51 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Hurrą!!!!
Great, I was waiting for something like this!!!
|

December 23rd, 2001, 12:58 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Another great introduction...
The reason i constantly come back to the devshed site is because of articles like this -- that introduce topics that books and other websites would have you believe very difficult to understand/get started with, in a dead straightforward way!
Keep up the great work!
(Oh, as a side comment... any chance ye want to follow on from this with something on SOAP? ;p).
|

December 30th, 2001, 07:05 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Two concerns...
In the XML-RPC client example the result of the request is stored in a PHP variable. Since the returned data may also be a struct (in case of a fault), my questions are:
How would the struct data plug into a PHP variable ($result in this case)?
What would be the right way to check what the data realy is (type not value) before you use it further in your script?
Let me know if those are good or stupid questions (I dunno)..
Thanks,
ursus
|

December 30th, 2001, 07:36 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
WDDX vs. XML-RPC
I actually wanted to ask this question here, but meanwhile I found a good answer. I thought I'd post it here then.. Note that PHP supports WDDX as well. Here it is:
"RPC stands for Remote Procedure Call, a mechanism used by distributed object systems such as DCOM and CORBA. XML-RPC mechanisms, such as DataChannel's WebBroker, are focused on providing a full distributed object protocol using XML and HTTP. Alternatively, WDDX is focused on providing a simple, light-weight data exchange mechanism for Web programming languages. However, it is straightforward to layer an RPC style capability on top of WDDX/HTTP based interactions. A number of developers are doing this already, and we expect standard semantics to emerge to support this kind of application of WDDX. "
|

December 31st, 2001, 07:39 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Also Hailstone PHP server at codepunk.com
I use Hailstone PHP XML_RPC server
found at http://www.codepunk.com
Excellent interface libraries.
Particularly if you cannot compile
own brand of PHP with options.
Use a cache for compiled PHP script
to improve speed.
IB
|

January 2nd, 2002, 09:05 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Neat, but nothing new at all!
The article presented here is ok and not a bad introduction. Still, all the
mentioned examples are a bad copy from the original website
http://xmlrpc-epi.sourceforge.net/ Dan Libby has written a great documentation
and even more complex examples.
The author of this article has just replace a few strings. Except that
the examples here are just the same on the original website.
The introduction to XMLRPC itself is also nothing more than just a copy of http://www.xmlrpc.com/spec.
Furthermore, all the introspection functions for documenting RPCs have been
omitted. This leads to bad documentation and bad coding style which new programmers of this topic will learn.
Sorry, his is not meant to be offending, but two links:
o http://www.xmlrpc.com/spec
o http://xmlrpc-epi.sourceforge.net/main.php?t=php_about
would have covered all and more!
I hope the author of this article does not delete my comment!
-Richard
|

January 23rd, 2002, 09:49 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Re: Neat, but nothing new at all!
perhaps so, but i think the point is that me, and others too will browse devshed, and see a simplified article like this, then try to find out more ourselves - without this article, i may never have discovered this subject!
Perhaps the best thing would be a simple introduction, THEN have the links you mentioned for a bit more in depth stuff.
|

January 28th, 2002, 05:49 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|

October 20th, 2002, 06:56 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Alternative PHP XML-RPC Library
I was put off xmlrpc-epi by the need to install a new PHP module... so, I wrote my own library :) IXR is an easy-to-use, object oriented XML-RPC library (both client and server) written in pure PHP. There's plenty of documentation on the web site and so far it has had a positive reception from everyone who has used it.
http://scripts.incutio.com/xmlrpc/
|

May 27th, 2003, 12:10 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Using XML-RPC with PHP
Using XML-RPC with PHP
December 20, 2001 - Do you want your Perl code on one server to call your PHP functions on another? "Impossible!" you say? Not with XML-RPC. XML-RPC is a standard way for any application to make requests and recieve responses from methods written in any language. Interested? I knew you would be.
Please discuss this article in this thread. You can read the article here .
|

May 28th, 2003, 09:22 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
If you would like to see an article covering a particular topic, please post your request here.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|