Scenario 2: Publishing Services with XML-RPC
XML-RPC can be used to publish information to the world, providing a computer-readable interface to information. The infrastructure for this use of XML-RPC is much like traditional web publishing to humans, with pretty much the same security and architecture issues, but it allows information recipients to be any kind of client that understands the XML-RPC interface. As in web publishing, XML-RPC publishing means that developers have control over the server, but not necessarily the client.
The O’Reilly Network’s Meerkat headline syndicator, for example, presents both a human-readable interface (at http://meerkat.oreillynet.com) and an XML-RPC interface (documented at http://www.oreillynet.com/pub/a/rss/2000/11/14/meerkat_xmlrpc.html) to the world. Casual readers can use the forms-based interface to query the headlines, while developers who need to present the headline information in other forms can use XML-RPC. This makes it easy to separate content from presentation while still working in a Web-centric environment.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access