News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

CodeForest.net:
Android JSON-RPC client and PHP Zend Framework server
July 13, 2011 @ 10:14:36

In a recent post to CodeForest Luka Peharda shows you how to create a JSON-RPC frontend for your application based on the Zend Framework.

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, but this isn't suprising as JSON is known as fat free XML.This articles is based on my earlier Android XML-RPC article. Its PHP code and Zend Framework setup will be used so you should go through it if you haven't earlier (at least as far as XMLRPC Android client chapter).

You need to have some of the base code from the previous article in place to follow along, but if you're experienced with Zend Framework, keeping up won't be a problem. He uses this JSON-RPC client that was made for use with a ZF application and creates a basic jsonAction to handle the request. He then uses this Android JSON-RPC library to connect from the Android application and fetch some basic data.

0 comments voice your opinion now!
zendframework android jsonrpc xmlrpc client library tutorial


blog comments powered by Disqus

Similar Posts

Rob Allen's Blog: Unit testing controller actions with Zend_Test_PHPUnit_ControllerTestCase

SitePoint PHP Blog: Build a New App with Laravel and EmberJS in Vagrant

PHPMaster.com: From Zero to Cloud: Setting up an EC2 Sandbox, Part 3

PHPit.net: Using globals in PHP

CakeBaker: Use components from the Zend Framework with CakePHP


Community Events

Don't see your event here?
Let us know!


wordpress opinion api laravel podcast development community laravel5 interview introduction unittest psr7 library release conference series language extension framework voicesoftheelephpant

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework