关于如何在Zend中构建后端和前端应用程序的任何建议

Ate*_*tef 0 zend-framework

我和Zend做了一个小项目.这是我的第二个项目,我需要制作前端和后端.有关如何构建文件夹的任何建议?我怎么能告诉zend什么文件夹,如果是前端和后端是什么,因为在application.ini中只有一个变量:resources.frontController.controllerDirectory?谢谢

Phi*_*hil 6

我会用模块."前端"的默认模块和"后端"的"管理"模块.

http://framework.zend.com/manual/en/zend.controller.modular.html

对于配置,请使用可用的应用程序资源插件

您可以通过将Bootstrap.php文件放在带有类的模块目录中来引导特定模块ModuleName_Bootstrap.Matthew Weier O'Phinney在这里写了关于模块引导的主题 - http://weierophinney.net/matthew/archives/234-Module-Bootstraps-in-Zend-Framework-Dos-and-Donts.html

public/index.php根本不应该改变.