MVC pattern > good practice | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 ?

23rd Mar 2019, 8:04 PM
Geoffrey L
Geoffrey L - avatar
2 Answers
0
Hey bro
26th Mar 2019, 1:32 AM
daijhan
21st Jul 2020, 1:13 AM
shubham kumar
shubham kumar - avatar