Directory structure of Phpbean in php template_PHP tutorial

WBOY
Release: 2016-07-21 15:54:16
Original
838 people have browsed it

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

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/318526.htmlTechArticleapp/ 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 ***.p...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template