|
-
May 13th, 2009, 10:48 AM
#3
Re: calculation form problem!
First off, form validation should NEVER be done on the client-side...that's way too big of a security risk. It should always be done on the server-side (PHP, ASP.NET, JSP, etc.).
C-mon! Both are necessary. Client-side to avoid unnecessary connections to the server just because some user missed a letter or something. And server-side for those who like to abuse webforms.
Client-side validation has proved to be the only input validation needed in most of cases when talking about intranet and office software. One of the proofs is that almost any modern webapp framework has extensive modules that generate javascript validation code for forms.
While in public applications a developer should keep to server-side validation, of course. There is always a guy who just loves to screw up all your js/html code and make your server/database submit to to his evil will.
Wanna install linux on a vacuum cleaner. Could anyone tell me which distro sucks better?
I had a nightmare last night. I was dreaming that I’m 64-bit and my blanket is 32-bit and I couldn’t cover myself with it, so I’ve spent the whole night freezing. And in the morning I find that my blanket just had fallen off the bed. =S (from: bash.org.ru)
//always looking for job opportunities in AU/NZ/US/CA/Europe :P
willCodeForFood(Arrays.asList("Java","PHP","C++","bash","Assembler","XML","XHTML","CSS","JS","PL/SQL"));
USE [code] TAGS! Read this FAQ if you are new here. If this post was helpful, please rate it!
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|