The AppML Client
In the following chapters, we will build a web application in the web browser.
AppML Client
The AppML client is a JavaScript that runs in any web browser.
It can easily be added to any HTML page with a single line of code:
<script src="https://w3.p2hp.com/appml/2.0.3/appml.js"></script>
The AppML client lets you add external data to any HTML element, using HTML attributes:
<table appml-data="customers.js">
It has a built in function for displaying data anywhere in the HTML:
<td>{{CustomerName}}</td>
{{ ... }} Are placeholders for AppML data.
It also has built in functions for repeating HTML elements, using any array found in the data:
<tr appml-repeat="records">
..
.
</tr>
The AppML client will not interfere with the existing HTML or CSS.
It works well with any existing CSS. We have used W3.CSS in our examples.
AppML Web Applications
AppML is extremely efficient for building web applications.
One of the most powerful features is the ability to develop prototype applications in the web browser, including database CRUD applications, without the need of any web server.
CRUD: Create, Read, Update, Delete.
AppML Server
AppML comes with two server scripts (PHP and .NET) designed to provide server data.
With AppML server scripts, you can easily access SQL databases, like mySQL and SQL server.
The server scripts are very powerful, and can easily be installed on any PHP or .NET server.
AppML Web SQL
In addition, for rapid application development and prototyping, AppML can also simulate a web server in the browser, using Web SQL.
Web SQL is a web page API for storing data in the browser using SQL. The API is supported by Google Chrome, Opera, Safari, and the Android Browser.
Just add the following script to your web page:
<script src="https://w3.p2hp.com/appml/2.0.3/appml_sql.js"></script>