php - Is server side validation and jQuery Validation both necessary today? -
i have complete jquery validate() validations accross fields in forms, complex , simple validation custom methods.
the question ask considering 2015 , browsers support javascript , have enabled default.
how necessary server-side validation today, , worth it? if so, latest ideal way know few ways such checking post data , outputting error on submit, going few years now.
yes.
- javascript in browser can disabled
- user can edit javascript code in browser(not reliable)
- client side validations save network requests. minimizes load on server. if error, request goes server , respond error.
- better user experience
Comments
Post a Comment