thinkphp-Independent Group Project construction

Source: Internet
Author: User

www: web site root directory

APP: Project folder

    • Common: The common use of the modules in the project, such as function folders, home,admin, etc.
    • Conf: The configuration folder common to the modules in the project, Home,admin and other public use.
    • Lang: The common use of the Language Pack folder, Home,admin, etc. in the modules in the project.
    • Lib: Public file
      • Action: Public action file
      • Model: Public model file
      • TPL: A common TPL file
      • ......
      • ......
    • Runtime: Common run-time files
    • TPL: A template folder common to the modules in the project, Home,admin, and other public uses.
    • Modules: Separate grouping folder
    • Admin
      • Action: The Action Controller folder that belongs to admin
      • Model: Models that belong to admin Play folder
      • TPL: TPL template folder belonging to admin
      • Common: Function folder belonging to admin
      • Conf: Configuration folder belonging to admin
      • ......
      • ......
    • Home
      • Action: The action Controller folder belonging to the home
      • Model: Home Models Play folder
      • TPL: TPL template folder belonging to Home
      • Common: Function folder belonging to Home
      • Conf: The configuration folder belonging to the home
      • ......
      • ......

Data: Information required to store the project, Json,xml, etc.

Public: Project common directory, storage of public js,css,images, etc.

thinkphp:tiinkphp Core File

Uploads: Upload folder

. Htaccess:url Rewrite files

index.php: Project Entry file

*: Except for folders under the Modules folder, the rest are public folders,

thinkphp-Independent Group Project construction

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.