File segmentation under the thinkphp Lib index

Source: Internet
Author: User
File segmentation in thinkphp Lib directory
Excuse me, have you ever tried

Create subdirectories below the action or model directory
such as Lib\action\user\


------Solution--------------------
Then you just use the grouping function he's given you.

5.6 Module Grouping
The module grouping function is an effective mechanism to better organize the existing modules and increase the capacity of the project. The grouping feature can merge the past multiple projects into a single project, which requires cross-project operations, now that there is a lot of hassle in a project, and the reuse of public files is convenient, and each group can have its own separate configuration files, public files, language packs, Access to the URL is also very clear.

Should be what you want, right?

  • 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.