Does Zend framework has a fix version of file structure?

前端 未结 2 1137
栀梦
栀梦 2021-01-23 22:57

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 f
相关标签:
2条回答
  • 2021-01-23 23:43

    Zend Framework has a

    Recommended Project Structure for Zend Framework MVC Applications

    • Overview
    • Recommended Project Directory Structure
    • Module Structure
    • Rewrite Configuration Guide

    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

    • ZF Migration Notes
    • ZF Default Project Structure Component Proposal
    0 讨论(0)
  • 2021-01-23 23:43
    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.

    0 讨论(0)
提交回复
热议问题