The app/directory is the main directory of the program.
App/actions Place controller files, support multi-level directories. In the case of 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 is ***.php where * * must be consistent with the model class name in the file
App/views Place an attempt to file or template file, any level of directory
Config configuration file, which primarily places database configuration information, cache configuration, SMTP configuration, and so on.
Libs Library classes and plugins
Libs/phpbean Phpbean's core library class
Libs/plugins plug-ins and the like, 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 use the Zend Framework's Lucene cache and mail.
SRC main Placement Program of pictures, JS, CSS, etc.
Tmp/cache Accessing cache files
Tmp/uploadfiles placing an upload file
A single entry for the index.php program, primarily for routing and forwarding
Startup.php program startup files, such as Automatic reprint class, preliminary filtering external data, initialization program
http://www.bkjia.com/PHPjc/318526.html www.bkjia.com true http://www.bkjia.com/PHPjc/318526.html techarticle The app/directory is the main directory of the program. App/actions Place controller files, support multi-level directories. If the controller, the file must be ***action.php, if it is an abstract class, it must be ***.P ...