Comparing the AR classes in Yii, we feel that the model class we encapsulate when using Thinkphp is also a specific table, it also encapsulates more complex or reusable logic operations. I just kept writing before, but I don't know about AR. Now I am just getting a general idea. I don't know... comparing the AR classes in Yii, we feel that the model class we encapsulate when using Thinkphp is also a specific table, it also encapsulates more complex or reusable logic operations.
I just kept writing before, but I don't know about AR. Now I know it in general. I don't know if this is the case.
Reply content:
Comparing the AR classes in Yii, we feel that the model class we encapsulate when using Thinkphp is also a specific table, it also encapsulates more complex or reusable logic operations.
I just kept writing before, but I don't know about AR. Now I know it in general. I don't know if this is the case.
All records mapped to objects and Data Tables mapped to classes can be understood as AR.
Thinkphp also implements database operations through AR.