+ 2
MVC pattern > good practice
I'm a little bit confuse with the MVC pattern. If I perfectly understand what is Model, View, Controller schema. I don't know what is the correct practice about processing model's request result. -Model should only handle getter and setter, then it's the controller process datas. Or -Model could also own some method to preprocess datas to send it to controller ?
2 ответов