Unifying Server-Side and Client-Side Input Validation
by Eric David
Security basics dictate that all user input must be validated on the server-side, and usability logic says that client-side validation provides a better user experience. This article, written by Eric David, will equip you with the tools needed to create a central validation library to simultaneously handle both front and back-end validation.