I want to write a lightweight framework of how the common module in the great God thinkphp is implemented

Source: Internet
Author: User
Is that I now have a lot of functions how can be like in the thinkphp in the common function in the function of automatic call and config How to achieve the implementation method and principle it's best to have the code here, thank you.

Reply content:

Is that I now have a lot of functions how can be like in the thinkphp in the common function in the function of automatic call and config How to achieve the implementation method and principle it's best to have the code here, thank you.

That's what I wrote, laughed at.
Http://fyscu.lanhao.name

Listen to my advice, do not rush to write their own framework, the first to learn some excellent framework to write their own framework is not too late, such as Laravel. Thinkphp is not good enough to imitate a framework that is not good enough how to write a good framework? The problem of the Lord you can understand the next Autoload,psr,composer first.

You're just like thinkphp, just start by putting the required file include or require in the first place.
Do not know how to do, copy a copy of thinkphp, and then start from index.php, code by line

A man who has more than 10 years of programming experience is mocking Yii and showing his Yuyan framework

Let's learn more about other excellent frameworks. (I'm here to black this yuyan.)

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