everybody knows that the validation should be part of the object itself :)
On Nov 18, 2010, at 12:01 PM, Judah McAuley wrote: >> > > I think that coding tests are awesome. I don't care about the niggling > little syntax bits, like which comes first in a DateFormat, the mask > or the date, but bigger things like how you structure your programs, > how you'd model your data, do you extend from base classes to provide > common meta data for objects, do you think validation should be a > separate service that you pass an object to or should it be the job of > the object to validate itself. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:331853 Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-community/unsubscribe.cfm