Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

AppML Case Prototype

Case Study - Prototype


This case study demonstrates how to build a complete web application with the ability to list, edit, and search information in several tables of a database.


Prototype

In this chapter, we will build a prototype model for each table in the database.

A prototype is a very convenient starting point for developing an application.


Prototype Model

First, create a folder for the prototypes. Name the folder Prototypes.

Then, create a prototype model for each table in the database.

Use SELECT * from each table and save the model as an XML file:

Model: Proto_Customers.xml

Demo

SELECT * FROM Customers

Model: Proto_Suppliers.xml

Demo

SELECT * FROM Suppliers

Model: Proto_Products.xml

Demo

SELECT * FROM Products


Prototype View

Create a prototype view, save it as Demo_Prototype.html, and try it out:

View: Demo_Prototype.htm

Customers

Try it »


Now put it all together

Finally, with a little JavaScript coding, create a simple prototype page for all the prototype models:

Demo_Prototype_Views.htm

Demo Applications



Show Result »