Declarativa Declarativa
 

 

WAMAdmin: a WAMmodel editor

WAM provides a WAMmodel administration utility, built with WAM itself:

WAMAdmin is a WAM-based (hence browser based) front-end to all WAMmodel tables, and is installed together with the WAMLibrary; it is invoked with the URL ApplicationRoot/WamLibrary/Admin. In production environments the Admin directory should have access limited to administrators/developers.

By setting the “WAMmodel edit mode” to ON (bottom left of screen), the whole application transmutes into “edit mode”, displaying an “under construction sign” and showing orange links to relevant WAMmodel records, and allowing interactive picking of lookup columns. This mode is turned on by default when the WAMAdmin entry page is displayed the first time, and can be turned off by toggling “WAMmodel edit mode”,

For example the following is a Northwind “Order” record shown in WAMAdmin edit mode while the developer is choosing additional related columns to add to WAM_LOOKUP_COLUMN:

Following the orange links opens the WAMmodel tuple for edition with WAMAdmin; for example, to change the “Freight” caption the developer would follow the “WP” link and change the (meta) data in the following page:

The following WAMmodel edition links are made available in edit mode:

Link                

Purpose

WP

Edit (possibly creating) WAM_PRESENTATION record

WRC

Edit (possibly creating) WAM_ROW_COLUMN record

WLKC

Edit WAM_LOOKUP_COLUMN record.

Add Lookup Column

Add a new WAM_LOOKUP_COLUMN defining a lookup on the present row, using a hierarchical menu similar to that appearing during end user list join building

WL

Edit WAM_LIST record

Set default

Make the current list configuration for the current user define what the ‘dbo’ user list should look like (and hence what all users will get), in terms of WAM_LIST_COLUMNs and WAM_CRITERION. The rationale is for the developer to configure the list as an end user would, and then click this link.

WPC

Edit WAM_PROCEDURE_CALL record

In addition to WAMmodel editing, WAMAdmin also provides some utility functions:

  • Storing/restoring WAMmodels as a text file, as PROLOG relations; in addition to providing a persistence mechanism external do the database, it allows experimentation with WAMmodel transformations using AI techniques.
  • Checking consistency between the WAMmodel and the application database, as this may be edited with another tool without WAM knowing about it
  • Report all database dependencies in custom ASPs
  • Developer documentation generation
  • Global WAM cache turn-off/on, so WAMmodel or database structure changes can be seen immediately by all users

Back to WAM

 


 Declarativa - Serviços de Informática, Lda.
  www.declarativa.com, info@declarativa.com  fax: +351-22-610 9574  tel: +351-22-610 9516
*Sede social (correio):
R. Cerca 88 4150-200 Porto Portugal
 *Centro de Desenvolvimento:
UPTEC - Parque de Ciência e Tecnologia da Universidade do Porto
Rua Actor Ferreira da Silva 100 4200-298 Porto Portugal