{"id":51643,"date":"2021-02-10T03:01:49","date_gmt":"2021-02-09T17:01:49","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=51643"},"modified":"2021-02-10T05:23:06","modified_gmt":"2021-02-09T19:23:06","slug":"appml-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/appml-primer-tutorial\/","title":{"rendered":"AppML Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/AppML\/index.html\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"AppML Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/AppML\/appml_primer.jpg\" title=\"AppML Primer Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">AppML Primer Tutorial<\/p><\/div>\n<p>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&#8217;re trying out one called AppML where we are going to use the <a target=_blank title='AppML first tutorial' href='http:\/\/webdevable.com\/w3schools\/appml\/appml_howto.html'>W3Schools<\/a> Two Step first tutorial as per &#8230;<\/p>\n<blockquote cite='http:\/\/webdevable.com\/w3schools\/appml\/appml_howto.html'><p>\nAppML Explained:<br \/>\n&lt;script src=&#8221;https:\/\/www.w3schools.com\/appml\/2.0.3\/appml.js&#8221;&gt; adds AppML to your page.<br \/>\n<br \/>\nappml-data=&#8221;customers.js&#8221; connects AppML data (customers.js) to an HTML element (&lt;table>&gt;).<br \/>\n<br \/>\nIn this case we have used a JSON file: customers.js<br \/>\n<br \/>\nappml-repeat=&#8221;records&#8221; repeats an HTML element (&lt;tr&gt;) for each item (records) in a data object.<br \/>\n<br \/>\nThe {{ }} brackets are placeholders for AppML data.\n<\/p><\/blockquote>\n<p>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 &#8220;protocol with glasses&#8221;, XML.<\/p>\n<p>All it took to create today&#8217;s &#8220;pretty swish&#8221; table of a <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/AppML\/index.html\" title=\"Click picture\">web application<\/a> was &#8230;<\/p>\n<ol>\n<li><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/AppML\/index.html_GETME\" title=\"index.html\">index.html<\/a> HTML<\/li>\n<li><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/AppML\/style.css_GETME\" title=\"style.css\">style.css<\/a> CSS<\/li>\n<li><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/AppML\/customers.js_GETME\" title=\"customers.js\">customers.js<\/a> JSON<\/li>\n<\/ol>\n<p> &#8230; that JSON serving as a flat file data source.   Interesting, huh?!<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d51643' onclick='var dv=document.getElementById(\"d51643\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/framework\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d51643' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>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&#8217;re trying out one called AppML where we are going to use the &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/appml-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,37],"tags":[3560,281,462,576,664,997,3559,3304,1319,1480],"class_list":["post-51643","post","type-post","status-publish","format-standard","hentry","category-elearning","category-tutorials","tag-appml","tag-css","tag-framework","tag-html","tag-json","tag-programming","tag-substitute","tag-token","tag-tutorial","tag-xml"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/51643"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=51643"}],"version-history":[{"count":3,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/51643\/revisions"}],"predecessor-version":[{"id":51653,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/51643\/revisions\/51653"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=51643"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=51643"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=51643"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}