Forum Post: Re: Data Validation Approach

  • Thread starter Thread starter Tim Kuehn
  • Start date Start date
Status
Not open for further replies.
T

Tim Kuehn

Guest
[quote user="Peter Judge"] I'd planned to have small, individual pieces of code logic in individual validation procedures/methods. So one would be 'is not empty" (for isntance), and another would be "has a valid mime type". [/quote] I'd surmise Empty / Filled would be an object state while "valid mime type" would be a validation as the domain object might be used for multiple different types of content.

Continue reading...
 
Status
Not open for further replies.
Back
Top