Skip to main content
AppML - Data

AppML - Data

Load records from local or remote sources and represent loading and failure states.

AppML - Data illustration

How it works

AppML can work with local data and remote data returned to the browser. For remote sources, the browser requests a server endpoint and receives a response such as JSON or XML. Validate data at the server, handle network and parse errors, and never expose credentials or unrestricted database access in client code.

Good practice

  • Use matching versions of the AppML client, model format, and examples.
  • Keep secrets and permission checks out of browser-delivered HTML, JavaScript, and model files.
  • Validate input and authorize every read or write on the server.
  • Handle loading, empty, and error states, and check generated content for accessibility.

Further reading: Tutorialspoint: AppML - Data · AppML library reference.