thinkphp directory Structure

Source: Internet
Author: User
Tags smarty template

thinkphp Framework directory structure
File path File description
\index.php Entry file
\application Application directory
\public Resource file directory
\thinkphp Framework Core Catalog

\application Directory Structure (application directory, save all application files)
File path File description
\application\common Apply Public Module
\application\common\common
Apply common functions directory to provide common functions for all modules under the application directory
\application\common\conf
Apply Public Profile directory to provide public configuration for all modules in the application directory
\application\home
thinkphp Framework default generated home module
\application\home\conf
Module configuration file directory, providing configuration information for the home module
\application\home\common
module function Public directory, which provides common functions for the home module
\application\home\controller
Module Controller Directory
\application\home\model
Module Model Catalog
\application\home\view
Module View Catalog
\application\runtime
Run-time Catalogs
\application\runtime\cache
Template Cache Directory
\application\runtime\date
Data Catalog
\application\runtime\logs
Log directory
\application\runtime\temp
Cache Directory

Framework Core Directory structure
File path File description
\thinkphp\common Core Public Function Directory
\thinkphp\conf
Core configuration Directory
\thinkphp\lang
Core Language Pack Directory
\thinkphp\libary
Core Class Library Directory
\thinkphp\libary\think
Core thinkphp Class Library package directory
\thinkphp\libary\behavior
Behavior Class Library Directory
\thinkphp\libary\org
Org Class Library Package directory
\thinkphp\libary\vendor
Third-party class library catalogs
\thinkphp\mode
Framework Application Pattern Catalog
\thinkphp\tpl
System Templates Directory
\thinkphp\thinkphp.php
Thinkphp Framework Entry Directory
The \thinkphp\conf directory is the core configuration directory for thinkphp, which contains thinkphp custom profiles, database connection information, thinkphp default settings, URL access mode, and so on, in this custom configuration file.
    \thinkphp\libary\think is the core thinkphp class Library package directory, which contains App.class.php (Application Class), Controller.class.php (Controller base class), Model.class.php (model Class), View.class.php (view Class), etc. thinkphp run the required base class files.
    \thinkphp\libary\vendor is a three-party class library directory that contains a number of third-party feature class files, such as the Smarty template engine.



















From for notes (Wiz)

thinkphp directory Structure

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.