<AppML>
Case Study - Prototype
This case study demonstrates how to build a complete <AppML> web application that allows for listing, editing, and searching information across several tables in a database.
Prototype
In this chapter, we will establish a prototype model for each table in the database.
Prototypes serve as a convenient starting point for developing applications.
Prototype Model
First, create a folder for the prototypes. Name this 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
Model: Proto_Suppliers.xml
Model: Proto_Products.xml
Prototype View
Create a prototype view, save it as Demo_Prototype.html, and give it a try:
View: Demo_Prototype.htm
Now Combine Them All
Finally, through a small amount of JavaScript coding, create a simple prototype page for all prototype models: