Where is the best place to handle data validation in an object? Should an
object's Save() method be responsible for validating it's internal members
before actually saving or should the calling program call a Validate()
method before attempting to save? 

Any advice is appreciated.

Thanks,
Phillip

--

Phillip Cave
Director, ColdFusion Development
Macromedia Certified ColdFusion Developer
Carol/Trevelyan Strategy Group 
202.448.5212

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to