Remoting Using PHP and HTTP-RPC

Remote Procedure Calls (RPCs) are nothing new. In fact the access point-controller-BCO/VCO architecture described throughout this book is a type of RPC used for delivering web page data. For a process to be an RPC, all that is required is that it pass a function indicator and zero or more parameters to a remote computer and that it expect a response. Since the advent of networks, RPC has been used in many different fashions. The client/server architecture is a type of RPC. The standard web browser/static web page architecture is a form of RPC. Each of these allows data to be accessed and transformed remotely and then retrieved by a client.

The first form of RPC covered here is HTTP-RPC. This means that the HTTP ...

Get Oracle Database Ajax & PHP Web Application Development 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.