Public Library

Validation Example App

An example of a single-class front-end app with constraint validation built with plain JavaScript

This app is accompanied by a tutorial. See also the project page. This app supports the following operations:

  • For playing with the app, you may first want to and then view it with . For observing the internal status and error messages, turn on the JavaScript console.

    This JavaScript front-end data management app takes care of only one object type ("books") for which it supports the four standard data management operations (Create/Read/Update/Delete). It extends the minimal app (Part 1) by adding constraint validation (and some CSS styling), but it needs to be enhanced by adding further important parts of the app's overall functionality:

    You may also want to take a look at our Minimal App, without CSS styling and without validation.