Machines talking to machines again: XML-RPC

The Web 2.0 revolution is largely built on machine-to-machine interfaces, which allow mashups and APIs and all those good things.

This is the basis of "web service". You can offer an interface to your site that allows other people to use it to do something for them. To give a simple example, if you set up a "web service" that converts temperature values in Centigrade to Fahrenheit, the client sends in a request with one parameter (the temperature to be converted) and the server returns the converted value. So, anyone can add a temperature conversion function that appears to be on his/her own site, but is actually calling yours.

XML-RPC allows two machines to talk directly. The receiving site creates a ...

Get CodeIgniter 1.7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.