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

phpDevelopment Blog: Zend Framework Tutorial Series: Part 3 – Login and Signup with (RE)Captcha

Kevin Schroeder: Creating a module in Magento 2

Jonathan Street's Blog: Plugins for php frameworks

Maarten Balliauw's Blog: Reuse Excel business logic with PHPExcel

Kevin Boyd: Retrofitted Login Throttling


Community Events





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


interview threedevsandamaybe community conference developer development zendserver series code tips laravel introduction release deployment list language api framework podcast application

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