I know you're approaching this from the perspective of handling
those who don't use js... but I'm leaning toward assuming js,
and letting the rest go.

I don't think it's too much to ask of people who want to use sites
that use js to allow it to be used in their browsers.  I know there
are issues for users behind corporate firewalls, etc., but I think it's
perhaps time for the development community to start developing
with js and demanding that IT personnel learn to set up secure
environments and protect their systems and network.

I've never had js disabled on any system or network I've ever owned
or managed and I've never had a single problem with it.

The "Web 2.0" functionality is going to force the issue.  With Google
and other basically "thumbing their nose" at those who won't use js
with apps like Gmail (at least that's what I understand), people are going
to have to embrace js and other more risky technologies and learn to deal
with them securely or be left behind.

Rick

-----Original Message-----
From: Josh Nathanson [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 16, 2007 3:25 PM
To: CF-Talk
Subject: Re: Client-side validation or Server-side Validation?

> Why not just do both at once?

You can't do both at once.  Client and server each need an independent 
approach.  The server must behave as if it is not at all dependent on what 
the client sends it.

Thus you need to have CF code to handle validation on the server, and 
javascript to handle validation on the client (if desired).

Even if you are doing ajax validations, you are still hitting the server, 
and your independent CF code must handle that server call.  Also, if you are

depending on an ajax call to validate, your non-javascripters will not make 
the ajax call and so not validate.

-- Josh




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275470
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