Thinkphp Framework Introduction (i)

Source: Internet
Author: User
Tags php framework

Original: thinkphp Framework Introduction (i)

First, the introduction of thinkphp

During the period there are questions about the thinkphp framework in learning welcome everyone to Exchange: qq:812231134


Mvc

M-model Model work: Responsible for the operation of the data
V-view view (template) Work: Responsible for the foreground page display
C-controller Controller (module) Work: Description function


Second, the thinkphp of the MVC corresponding directory
M project directory/application directory/lib/model
V project directory/application directory/TPL
C project directory/application directory/lib/action




Three #thinkphp core Document introduction
├─thinkphp.php Framework Entry File
├─common Framework Public File
├─conf Framework Configuration file
├─extend Framework Extensions Directory
├─lang Core Language Pack Directory
├─lib Core Class Library Directory
│├─behavior Core Behavior Class Library
│├─core Core base Class Library
│├─driver built-in driver
││├─cache built-in cache driver
││├─DB built-in database driver
││├─taglib built-in label driver
││└─template built-in template engine driver
│└─template built-in template engine

└─TPL System Template Directory


#项目目录结构及说明:
Home Foreground App Folder
├─common Project Common Files directory
├─conf Project configuration Directory
├─lang Project Language Directory
├─lib Project Class Library Directory
│├─action Action Class Library Directory
│├─behavior Behavior Class Library Directory
│├─model Model Class Library catalog
│└─widget Widget Class Library Directory
├─runtime Project Run-time catalog
│├─cache Template Cache Directory
│├─data Data Cache Directory
│├─logs Log file directory
│└─temp Temporary Cache Directory
└─TPL project template Catalog

Thinkphp Framework Introduction (i)

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.