The app/ directory is the main directory of the program.
App/actions places controller files and supports multi-level directories. If it is a controller, the file must be ***Action.php. If it is an abstract class, it must be ***.php.
App/models Place the model. The file name of the model is ***.php, where *** must be consistent with the model class name in the file
App/views Place the view file or template file, any level directory
Config configuration file, mainly places database configuration information, cache configuration, smtp configuration, etc.
Libs library classes and plug-ins
Libs/phpbean phpbean’s core library class
Libs/plugins plug-ins and the like, you can use Fckeditor or smarty
Libs/Zend zend’s library class, if you Library classes that need to use zend Framework can be placed here. I often use zend Framework’s lucene cache and mail
Src mainly places the program’s images, JS, CSS, etc.
Tmp/cache accesses cache files
Tmp/uploadfiles places upload files
A single entrance to the Index.php program, mainly for routing and forwarding
Startup.php program startup file, such as automatic reprinting classes, preliminary filtering of external data, and initialization of the program