The support of MVC frameworks for constraint validation can be evaluated according to the following criteria. Does the framework support
the declaration of all important kinds of property constraints as defined above (String Length Constraints, Mandatory Value Constraints, Range Constraints, etc.) in model classes?
the provision of an object validation function to be invoked in the UI on form submission, and in the model layer before save?
validation in the model class on assign and before save?
informative generic validation error messages referring to the object and property concerned?
custom validation error messages with parameters?
responsive validation in the user interface on input and on submit based on the constraints defined in the model classes, preferably using the HTML5 constraint validation API, or at least a general front-end API like the jQuery Validation Plugin?
two-fold validation with defining constraints in the model and checking them in the model and in the view?
three-fold validation with defining constraints in the model and checking them in the model, the view and in the database system?
reporting database validation errors that are passed from the database system to the app?