For production applications where you control the wire, XML-RPC is currently the best solution for PHP.

Why?