ThinkPHP framework basics review _ PHP Tutorial

Source: Internet
Author: User
Basic review of ThinkPHP framework. The first thing we need to know about the basic review of the ThinkPHP framework is the directory structure: After We decompress the package, the following directory will appear: this is the explanation of the tp official Manual directory. we can review the basic review of the ThinkPHP framework.

First, we must know the directory structure:

After decompression, the following directory will appear:

This is an explanation of the tp official Manual directory. we can skip to other files first. here, we mainly use the ThinkPHP core library directory of php:

Then, under this very important Directory, the following file directories are equally important to us:

This is the core directory of tp, and the next step is the entry file. Obviously, this entry file is much easier to find than the entry file of the zend Framework, this entry file is actually provided to us on the surface of the decompressed Directory. we can use it directly, and of course we can also write it ourselves, that is, the index file, note that Thinkphp must be introduced. the core file of the php framework, which contains all the tp framework configurations, is frequently used.

Then, the function of the portal file is that all pages must pass through this portal file. this is of great benefit. how can we determine whether the user has logged on legally before, A better solution is available here.

Finally, we 'd better open the entry file under our sequencer host, so we can see the cute:

First of all, we must know the directory structure: After decompression, the following directory will appear: this is the official tp Manual directory explanation, we can...

Related Article

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.