The app/directory is the primary directory for the program.
App/actions Place the controller file, support multilevel directory. If it is a controller, the file must be ***action.php, and if it is an abstract class, it must be ***.php.
App/models the file name of the model model is ***.php which * * must match the Model class name in the file
App/views Place an attempt file or template file, any level directory
Config profile, which mainly places database configuration information, cache configuration, SMTP configuration, and so on.
Libs Library class and Plug-ins
Core Library class of Libs/phpbean Phpbean
Libs/plugins Plug-ins and the like, you can make FCKeditor or smarty
Libs/zend Zend Library class, if you need to use the Zend Framework library class, you can put it here. I'm comparing Lucene cache and mail for the Zend Framework.
SRC main Placement Program pictures, JS, CSS, etc.
Tmp/cache access to cached files
Tmp/uploadfiles Place upload File
A single entry for the index.php program, mainly for routing and forwarding
Startup.php program startup files, such as automatic reprint class, initial filtering of external data, initialization of the program
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.