I think what Abdul said is right that you don't want sensitive
validations done on the client.  And you should keep in mind that when
you send data to the server you often should validate it again to make
sure someone hasn't spoofed a client to avoid your validation logic.

AS3 is pretty fast now so you can do more complex validation without too
much of a performance hit.  So unfortunately I think "it depends"
remains operative.

Matt

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of gault17
Sent: Monday, March 06, 2006 6:05 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex application architecture for data validation

We are trying to come up with a strategy for data validation in our 
Flex application. Our current approach is to perform basic data 
validation (valid values for each field) on the client side and invoke 
server-side objects to perform more thorough validation such as 
relational edits(e.g. "if field x > 100, field y must have value AA"). 
However, I'm wondering whether an approach that favors more client-side 
validation would be better. Something like "validate on the client side 
as long as no call to the server is required to retrieve additional 
data or access external services." The answer, I imagine, is "it 
depends." But I'd be interested to know what factors to consider and 
what guidelines others are using for their Flex data capture 
applications. Thanks

Gary Ault
Bureau of Labor Statistics 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to