(02-26-2015, 01:54 AM)Avenirer Wrote: Regarding the $_POST: the problem with doing this inside the model would be that you may need different validation rules depending on what you want to do (an insert or an update). The solution might be to enter a hidden element in the form in which you tell the model what you want to do - insert, update -, and this way it can choose what validation rules should apply to the data.
In traditional MVC, should models be doing validation? I've always done that in controllers using unique routes for each action, then calling model methods after I've validated the request.