> Client-side validation is going to have to server-side 
> validation, too, which means the server is going to have to 
> handle all the validation that the client-side does.  So 
> there's just as much stress on the server.
> Perhaps more so, if there are numerous problems with the form 
> data that aren't or can't be handled by client-side 
> validation, such as validation against query data, etc.

A lot of form data validation can be completely contained within the client
using JavaScript, without needing to verify anything against the server.
This will execute comparatively quickly, and will let you build a
user-friendly and responsive interface.

You'll still need to do the same checks when the data is actually submitted
to the server, but these shouldn't require any significant processing time
if they were previously run on the client, because they'll all pass. And if
they don't, for whatever reason, you won't really care about the processing
overhead at that point anyway.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

This email has been processed by SmoothZap - www.smoothwall.net


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275507
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to