Summary
This chapter discussed RPC, explaining how they could be used to implement distributed, network-based applications. It then went on to apply RPC theory to the web, examining how XML and HTTP could be combined to encode and transport procedure calls over the Internet and discussing two XML-based protocols, XML-RPC and SOAP, which are designed to do just that.
With the broad overview out of the way, this chapter then proceeded to a detailed examination of PHP’s RPC extension, examining how it could be used to encode and decode RPC data, create and manage an RPC server, and examine itself to automatically deliver documentation on its available procedures. Finally, two real-world examples (and one not-so-real-world illustration) put the ...
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