WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

AppML Models


An AppML show depicts an application.


What Is an AppML Model?

An AppML display is a JavaScript object (JSON) portraying an application.

This little model portrays a full application for recovering information from a database:

{
"database" : {
    "association" : "localmysql",
    "sql" : "SELECT * FROM Customers"}
}

What Can an AppML Model Do?

With an AppML demonstrate you can:

  • Define associations with databases like MySQL, SQL Server, Access, and Oracle.
  • Define associations with information records like JSON, XML, and other content files.
  • Define SQL explanations for recovering data.
  • Define channel and arranging restrictions.
  • Define information types, information configurations, and update restrictions.
  • Define application security, clients, and client groups.

Examples

To enable clients to channel information (look ,sort), you can add channel data to the model:

Example

"filteritems" : [
    {"item" : "CustomerName", "name" : "Customer"},
    {"item" : "City"},
    {"item" : "Country"}
]

To enable clients to refresh information, you can add update data to the model: 

Example

"updateItems" : [
    {"item" : "CustomerName"},
    {"item" : "Address"},
    {"item" : "PostalCode"},
    {"item" : "City"},
    {"item" : "Country"}
]

Without a Model

The applications you have seen before in this instructional exercise, did not utilize any models.