Is client-side validation unnecessary?
问题 Please check this question before. I frequently heard about "... don't trust the client ! never trust the client ! never trust the user inputs !" I agree with client-side validation alone is a very bad idea. But if so , what is the advantages of using client-side validation ? Is it necessary or not? When should I use client-side validation ? Forget about some bad guys (who try to hack), please think about should every request reach to server side ? I don't think so . Normal users can input