0
我有以下Zend应用程序结构,使用MVC并支持多个模块(如果添加)。如何扩展此项目以创建整个网站的移动版本?移动站点应支持桌面版本使用的所有模块,并重复使用尽可能多的控制器和模型代码。如果用户通过桌面访问,则应显示桌面版本,否则应显示移动版本。我想用jquerymobile框架来开发移动网站。
-application
-configs
application.ini
-layouts
-scripts
layout.phtml
-modules
-default
-controllers
IndexController.php
-models
-views
-helpers
-scripts
-index
index.phtml
Bootstrap.php
Bootstrap.php
-documentation
-include
-library
-logs
-public
-design
-css
-images
-js
index.php
.htaccess
-scripts
-tests
-tmp
感谢