AppML Primer Tutorial

AppML Primer Tutorial

AppML Primer Tutorial

There are hundreds and perhaps thousands of Framework type applications out there that create HTML output. Some set to a Framework the handling of data, and today we’re trying out one called AppML where we are going to use the W3Schools Two Step first tutorial as per …

AppML Explained:
<script src=”https://www.w3schools.com/appml/2.0.3/appml.js”> adds AppML to your page.

appml-data=”customers.js” connects AppML data (customers.js) to an HTML element (<table>>).

In this case we have used a JSON file: customers.js

appml-repeat=”records” repeats an HTML element (<tr>) for each item (records) in a data object.

The {{ }} brackets are placeholders for AppML data.

Tokenizing this way (or you could call it substituting) gels with our thinking nearly as much as adding global data attributes as ways to make your HTML more intelligent, and more like that “protocol with glasses”, XML.

All it took to create today’s “pretty swish” table of a web application was …

  1. index.html HTML
  2. style.css CSS
  3. customers.js JSON

… that JSON serving as a flat file data source. Interesting, huh?!

If this was interesting you may be interested in this too.

This entry was posted in eLearning, Tutorials and tagged , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>