O'Reilly logo

Spring MVC Cookbook by Alex Bretet

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Validating client-side forms with HTML5 AngularJS

It is a good practice to validate submitted data both on the frontend and the backend. It is also good, talking about validation, to distinguish the user experience, from the data integrity conservation from the data integrity conservation. Both are two different responsibilities, potentially for different teams.

We believe the frontend validation has replaced the form-validations that was previously managed by the backend. In a scalable environment where API is decoupled from web content, the validation experiences are now the responsibility of client interfaces that can be multiples (even implemented by third parties) such as websites, mobile websites, mobile apps, and so on.

In this recipe, we ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required