In coding a traditional MVC application, what is the best practice for coding server-side form validations? Does the code belong in the controller, or the model layer? And why?
In coding a traditional MVC application, what is the best practice for coding server-side
Share
From Wikipedia:
Thus, model – it holds the application and the business rules.