Understand something: You, the programmer, are the only one who knows what validation is appropriate for each and every property in your program. As such, you are the one who gets to write the validation code.
Can you define a Length_Validated_String class, that validates the length of the string, and then let your various other presentation models use that class, and the validation for it, instead of reinventing the wheel each time?
John R. Strohm
2010-06-06 15:36:14