Suitable for beginners to quickly learn thinkphp improvements 2

Source: Internet
Author: User
Provides various official and user-released code examples. For code reference, you are welcome to learn how to create basic Action templates and automatically detect data tables in the database to generate model files, the registered function module can be used for simple permission detection in the background.
A small change was made to make the code transparent. Download the full version 3.13 and change the attachment's hf. put the php and hf folders in the Thinkphp root directory and first run hf. php will replace the default Action content, and enter the Han Feng gadgets. There will be a few tips, and finally enter the module registration:, for example: I want to add the Index Controller under the Admin group, directly in, enter Admin and Index to generate the file. The default structure of the generated file is basic. I want to add a test module to the newly generated file. Enter the group name: Admin, Controller: Index, and module name: test. Check the basic function template and click Generate. The function continues to improve... The index entry file of thinkphp is also included in the attachment... The level-2 directory... is still not supported .... In addition, modify the Basic settings to manually enter them in hf/index. php.

Hf.rar (13.66 KB download: 50 times)

AD: truly free, domain name + VM + enterprise mailbox = 0 RMB

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.