It really depends. I've taken over sites where business logic was done in
Javascript. That is horrendous and was a nightmare to sort some of the
bugs.
Javascript should be used to make things pretty and if you must do it,
some validation (just to make life easy), but any data validation should
also be backed up with server side validation cos you know somebody will
be doing something that messes up your site or more precisely the way you
view your site.
-----Original Message-----
From: Holger Lockertsen [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, January 18, 2001 1:39 PM
To: CF-Talk
Subject: RE: Adam, you got to be kidding?
How do you explain that to an important customer when a user with a
javascriptdisabled browser who tried to submit a feedbackform couldn't get
it to work, and phoned the company complaining about it?
I agree that some funcionality can and should be done on the clientside
using javascript, but I always develope webpages with basic functionality
that everyone can use. Submitting a form is in my mind considered basic
functionality.
Crossbrowser-compatibility is not only a question of brand, but of version
and enabled options as well.
rgds
* Holger Lockertsen, Solutions Developer
* Pixelduck AS - Nedre Slottsgate 5, N-0157 OSLO, Noreg/Norway
* +47 23 31 03 04 / 91 83 20 51
* [EMAIL PROTECTED]
* http://www.pixelduck.com/
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 18, 2001 2:15 PM
> To: CF-Talk
> Subject: Adam, you got to be kidding?
>
>
> You actually develop with the mindset that a user might not
> have scripting
> enabled? Ouch!
>
> My guess would be that at a minimum, 98% of all users have
> scripting enabled.
> So, you would forfeit the capability of client-side data validation,
> client-side DOM manipulation, etc.?
>
> You would add unneeded round trips to your server to
> accomplish scripting,
> validation, etc.? So 98% of your users will pay the
> Performance price for the
> 2% of your users? Not to mention the extra load on your
> server and the wasted
> bandwidth.
>
> Not a good idea ... Please!
>
> Bill Reichard
> Willow Gold
> [EMAIL PROTECTED]
> http://www.willowgold.com
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists