Does Zend framework has a fix version of file structure?

匿名 (未验证) 提交于 2019-12-03 02:33:02

问题:

As a newbie of Zend framework, I have a few version-dependent questions on the framework.

  1. Does Zend Framework has a fixed file structure (meaning a fixed form of file layout)?
  2. If so, does this file structure vary according to framework versions?
  3. If so, is there any reference to learn all the differences in file structure?

回答1:

Zend Framework has a

Recommended Project Structure for Zend Framework MVC Applications

Following this structure makes ZF components work out of the box mostly. You do not have to stick to it though, because all paths are configurable with more or less effort.

For further reference, have a look at the



回答2:

  1. No, you have pretty much control over everything, from locations to notations.

  2. The recommended structure has pretty much remained the same for a long time. Sometimes there can be some new features that can improve the structure a bit (such as resource autoloaders), but essentially it's the same. And even with such improvements the old structures remain backwards compatible.

  3. See previous answer.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!