Case Study - Application Model
This case study demonstrates how to build a complete
Application Model
In this chapter, we will build a complete application model for the Customers table in the database.
Filter
To allow filtering
Example:
For full details, please refer to
update
To allow updates
Example:
and add to the
Example:
For full details, please refer to
Safe
You can add to the
Example:
security="admin" In the example above, only users who log in as members of the "admin" user group can access the model. To set security for the
security="admin"
In this chapter, we will create an application model for each table in the database. Create a new folder named Models. In the Models folder, create a model for each application.
Create a model view, save it as Demo_Model.html, and try it out: Try it » Then, with a little JavaScript coding, create a test page for all the models:
Show Result »Example:
Complete Customers Model
Model: Customers.xml
Model View
View: Demo_Model.htm
Customers
Now put it all together
Demo_Model_Views.htm
Demo Applications