WordPress has a powerful XML RPC API which allows us to get posts or categories from our WordPress site as well as control our site from external clients. This article will try to show some of the possibilities of using built-in API methods and how to extend the API and write your own XML RPC methods.
Archive for xmlrpc
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.
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.