简体   繁体   中英

Android/Web client and Zend server

I'm starting to develop a web application 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?

使用Zend_Rest_Controller类而不是Zend_Controller_Action扩展您的控制器,并实现其方法供您的REST android客户端使用。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM