>>As an AJAX call only sends/returns a very small amount of data, it is 
very
quick,

The overhead is not caused by the amount of data, but just by the operation
of calling the server. And also the fact that the server now has the 
overhead instead of the user.

 >>and is still quicker than server side only validation if the client
has Javascript enabled.

How could it be ?
The server side validation will be done by the template called by the form.
This template has to be executed anyway to process the form, so even if 
it also does
validation first, it will still be more efficient than calling two 
templates,
one for validation, the otheone for procesing the data.

 >>It means you do not have to write two separate validation routines,

Why two routines? What was validated on client side must not be revalidated
on server. Things that should be validated on server are not the same.

-- 
_______________________________________
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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