Skip to content

Tutorials

json loiane

Android JSON-RPC client and PHP Zend Framework server

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.

secure coding php

PHP Exceptions

Exceptions are used to change the normal flow of a script if a specified error occurs. Today, I am going to show you how to use and handle the PHP Exceptions properly.