> Feel free to point me to a 
> "javascript required" website with all javascript validation you have 
> running and I will gladly demonstrate that need

I'll take your work for it... don't start hacking on my server, Jochem! :o)

So the bottom line appears to be:

Use JS is you want, but build everything, including interfaces and
validation,
as if JS is not available.

If that's the case, then JS (and I assume AJAX is in the same boat?) would
just
be too much trouble for a general web developer.  For specific apps, such as
Gmail, I could see going to the trouble.  But when I'm building web sites
for the
general population, it seems like too much work to employ JS and AJAX, and
then pretend users don't have systems that can use them.

And to think I was so excited about having some new toys... HTML is getting
boring...

Rick


-----Original Message-----
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 7:18 AM
To: CF-Talk
Subject: Re: Client-side validation or Server-side Validation?

Rick Faircloth wrote:
>> A lot of form data validation can be completely contained within the
client
>> using JavaScript,
> 
> But isn't this scenario assuming that JS is available?  I thought the
argument
> was that one has to assume that JS isn't available and a complete
server-side
> validation routine would have to be in place.

The argument is that one has to assume that the javascript in the 
browser is under control of the user and can not be trusted, even if it 
is present.


> It seems that most on the list have been saying use the client-side JS for
> user experience enhancement, but assume JS is not available.  In that
case,
> I'd need to run server-side validation on everything anyway...

Regardless of the availability of javascript, you always need 
server-side validation for security issues. Feel free to point me to a 
"javascript required" website with all javascript validation you have 
running and I will gladly demonstrate that need ;)

Jochem



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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

Reply via email to