84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
主要用thinkphp,我看了很多人分享的代码,他们把view和controller之间的分离很彻底,但controller和model之间的分离几乎没有,有的几乎不用model层。大家怎么想?
越努力越幸运!!!
About the interaction between the controller and model of the mvc structure? -PHP Chinese website Q&A-About the interaction between the controller and model of the MVC structure? -PHP Chinese website Q&A
Let’s take a look and learn.
开发速度快吧,TP中几乎不会复用的数据操作,直接在controller里用M方法要比再额外建个model快得多
About the interaction between the controller and model of the mvc structure? -PHP Chinese website Q&A-About the interaction between the controller and model of the MVC structure? -PHP Chinese website Q&A
Let’s take a look and learn.
开发速度快吧,TP中几乎不会复用的数据操作,直接在controller里用M方法要比再额外建个model快得多