XML-RPC rules, but the amount of data it generates is its big disadvantage. This is where JSON-RPC steps in. Data it generates is significally smaller, this isn’t suprising as JSON is known as fat free XML. In this article we will build JSON-RPC server using PHP and Zend Framework, will test this server with jQuery JSON-RPC client and then we’ll proceed to building Android JSON-RPC client. In the end I will give test results for XML-RPC and JSON-RPC.
Archive for android
In this article will show how to build PHP XML RPC server and how to consume provided services with PHP and an Android application as a client. PHP side of things will be built on top of Zend Framework and for Android will be using very thin XML RPC library android-xmlrpc.