On Tue, 2 Nov 2004 09:36:55 -0800, Barney Boisvert <[EMAIL PROTECTED]> wrote:
> As I see it (certainly up for debate), there are two different
> situations regarding BOs and validation (matching your two
> alternatives).
> ...snip...
> 
> One thing to keep in mind is that you need to make sure you're
> enforcing BUSINESS validation in your BO, not input validation, which
> should be enforced long before any data gets to your business layer.
> 
> cheers,
> barneyb
> 

Interesting.  Could you elaborate a bit.  I'm guessing you're thinking
something more than client-side javascript validation (since JS can be
disabled) but once it's server side it seems like it gets into the
business layer pretty quickly.  In Mach-II, there is an
EventBeanFilter  that will take a bunch of form fields and use it to
populate a bean.  There is also a ValidateFormObject filter that will
then call a validate() method on the bean.  Is this counter to what
you are saying?

-Phil
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words '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