June 2002
Intermediate to advanced
384 pages
7h 53m
English
Over the preceding sections, you’ve seen quite a few examples of how the RPC library works and should now have a fairly clear understanding of the theory. This section puts it into practice with a few real-life demonstrations of how this technology can be used across the web.
I’ll begin with something simple—a basic RPC client-server implementation for information delivery over HTTP. I’ll be using a MySQL database as the data source, XML-RPC as the expression language for the procedure calls and responses, and PHP for the actual mechanics.
Let’s assume the existence of a fictional government department that is charged with the task of obtaining meteorological information ...