2.01.2019

Diff between client side validation and server side validation:



Validation on web page taken place to check whether the proper input was given. The testing can be done on two ways
1.       Client side validation
2.       Server side validation.
1.       Client side validation:
It happens by using java script and html 5.
You can validate a web form before passing the data to server. For example to get age of a person the input box you can not enter text. That validation can be done using javascript. And to enter email id the proper input can checked using html.
The advantage of client side validation unnecessary server load avoided.
2.       Server side validation:
If you order 10 copies of book on e commerce web site  The server should test on the database that whether the no of books are available. It cannot  be done using client side.
It should be done using only server side scripting language like asp.net,  jsp, php .
Asp.net is  Active server page Microsoft software . it is the advanced version of  classic asp.
Jsp is java server page and  it is oracle company software. Php is php : hyper  text preprocessor. It is an open source software. Any body can down load software from internet and use it.
Thank you:
Muthu karthikeyan, Madurai


No comments:

Post a Comment