AppML Tutorial
Selected Reading
- AppML - Discussion
- AppML - Useful Resources
- AppML - Quick Guide
- AppML - API
- AppML - Models
- AppML - Controller
- AppML - Including HTML
- AppML - Messages
- AppML - Data
- AppML - First Application
- AppML - Architecture
- AppML - Environment Setup
- AppML - Overview
- AppML - Home
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
AppML - Data
AppML - Data
AppML provides multiple ways to fetch data to be displayed on an html page. We need to pass appml-data attribute the relevant value. Following are the ways to access data in AppML apppcation.
Using Javascript Variable
Using JSON File
Using Text File
Using XML File
Using Database
In the following sections, we will have a few examples to demonstrate the ways to access data in AppML Apppcation.
Access Data
Here is a pst of the ways to access data along with their description.
Sr.No. | Data File & Description |
---|---|
1 | Use a javascript object to display records. |
2 | Use a json file to display records. |
3 | Use a CSV based text file to display records. |
4 | Use a XML file to display records. |
Using Database
appml-data can be passed a server url which fetches data from database and returns data in json/xml format.
Advertisements