Novice Solver: Feel the thinkphp model is very chicken, how to solve

Source: Internet
Author: User
Beginner Solution: Feel thinkphp model is very chicken
Very few single-table usage ah, basically is the association N multi-table, uses the model I do not know which to instantiate, finished also must write a lot of SQL statement, it inside of those curd command is not enough to see
------Solution--------------------
In fact, the framework is bad, responsible for their own writing SQL.
------Solution--------------------
Not used TP, but the memory of TP m method is not a single-table model, a long time ago to read, remember the mistake of ignoring me this reply
------Solution--------------------
1, the framework is the template of the application, you do not understand whether he meets your needs to use. You can't blame someone else but the problem.
2, TP model is a table structure, specifically what to do naturally you get it
3, all the framework of the table as Model, also associated with insurmountable obstacles: multi-Table Association
Too personality, no one can abstract
  • 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.