Under an MVC framework, which directory structure would be expected by other developers?

后端 未结 4 512
谎友^
谎友^ 2021-01-13 01:32

Generally, MVC frameeworks have a structure that looks something like:

/models
/views
/controllers
/utils

However, in a web application sui

4条回答
  •  无人共我
    2021-01-13 01:41

    It seems like 2) would be your best option, assuming you want some separation of applications. You could also have a "/common" folder at the "/app#" level for shared resources across all applications... like a shared utility class or whatever.

提交回复
热议问题