开发者

Android/Web client and Zend server

I'm starting to develop a web ap开发者_StackOverflowplication with Zend framework but I also want to make an Android client for my app.

The question is, What is the better approach for this android/web client development?

Being more specific, I would like to do most of the job with zend framework, but I also want to minimize the amount of code by using the same classes and methods for both clients. Should I retrieve data for example, using only JSON and then leaving the view part to javaScript or is there a better way so?


extend your controller with class Zend_Rest_Controller instead of Zend_Controller_Action and implement its methods for your REST android client to consume from.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜