demo/Common/DS.tab database system ; vendor ; platform ; query language; price; $WebPage Sav Z DBMS 2.0 ; Technopoles-M,Anet; Java ; Z ; $0099 Sav Z Server 1.0 ; Technopoles-M,Anet; Java ; Z ; $0199; "../savzs/demo/Pages/1.html" SQL Server 6.5-5 ; Microsoft ; Win 95,Win 98,Win NT; SQL ; $1200 SQL Plus 8.0 Win95; Oracle ; Win 95,Win 98,Win NT; SQL ; NoneKey object in first field is properly primary key, it may be coded by number, #1, #2 , … . For example:
database system; name ; version #1 ; Sav Z DBMS; 2.0If field text has special symbols, particularly one from the $ * # " ' { [ ( } ] ) ^ : / | \ ~ = , ; < > , field text should be enclosed in the quotes. Sav Z navigators will generate interface (for example SavZS.jpg) on the basis of this tabular data imported into Z database.
demo/Advanced/DS0.tab database; price personal; "< $199" server ; ">= $199"
demo/Advanced/DS1.tab database:personal; vendor ; platform; query language; price; $WebPage Sav Z DBMS 2.0 ; Technopoles-M,Anet; Java ; Z ; $0099
demo/Advanced/DS2.tab database:server ; vendor ; platform ; query language; price; $WebPage Sav Z Server 1.0 ; Technopoles-M,Anet; Java ; Z ; $0199; "../savzs/data/page1.html" SQL Server 6.5-5 ; Microsoft ; Win 95,Win 98,Win NT; SQL ; $1200 SQL Plus 8.0 Win95; Oracle ; Win 95,Win 98,Win NT; SQL ; NoneThe ':' symbol is used for setting class hierarchy. The objects (key fields) of "database:personal" (DS1.tab) and "database:server" (DS2.tab) inherit the "price" attribute of the "database" (DS0.tab table).
Note: Better if new generalized values are represented
in separate column. For example:
database; relative price
personal; "< $199"
server ; ">= $199"
So, in time of navigation, "relative price" may be used
as attribute of source values to make request, but "price" as attribute
of view target values.
1. Chose class of the target objects (database).
database
database:personal database:server |
2. Select source attributes of the target class
(platform, price), for imaging its values.
database
platform price query language vendor |
3. Select values of the source attributes (Java,
Win NT, ">= $199").Simultaneity select target attributes (price) for output
table. Values of key attribute (database) are output always. Whole
selection of table below equal SQL query: SELECT database, price
FROM database WHERE (platform = 'Java'
OR platform = 'Win NT')
AND price >= $199.
Target attributes | Source values | |
database
platform price query language vendor |
platform:
Java Win 95 Win 98 Win NT |
price:
"< $199" ">= $199" $0099 $0199 $1200 None |
4. If Sav Z Server is working, choose target object and pass via
its URL reference (server:Sav Z Server 1.0).
database | price |
server | ">= $199" |
server:SQL Plus 8.0 Win95 | None |
server:SQL Server 6.5-5 | $1200 |
server:Sav Z Server 1.0 | $0199 |
We can import the same tabular data that may be showed by distinct ways.
0. Simple table
development tool ; language; platform ; feature Visual Cafe 3.0 DDE ; Java ; Win 95,Win 98,Win NT ; visual components Borland JBuilder 3.0; Java ; UNIX,Win 95,Win 98,Win NT; visual components1. Table with abbreviation
development tool ; language; platform ; feature Visual Cafe 3.0 DDE ; Java ; Win 95,Win 98,Win NT ; visual components Borland JBuilder 3.0; Java ; UNIX,Win 95,Win 98,Win NT; vis*2. Table with variable
development tool ; language; platform ; feature Visual Cafe 3.0 DDE ; Java ; [$p1={Win 95,Win 98,Win NT}]; visual components Borland JBuilder 3.0; Java ; UNIX,=$p1 ; =vis*3. Table with query
tab/Advanced/DT1.tab development tool ; vendor ; price Visual Cafe 3.0 DDE ; Symantec ; $0540 Borland JBuilder 3.0; Inprise ; $0299We can use queries with familier attributes.
tab/Advanced/DT2.tab development tool ; language ; platform ; feature =(vendor:Symantec) ; Java ; [$p1={Win 95,Win 98,Win NT}]; visual components =(:Inprise, price:$299); =((vendor:Symantec)); UNIX,=$p1 ; =vis*Remark that column name defines class context of the field expression. The =(vendor:Symantec) expression of the development tool column will be really =development tool:(vendor:Symantec). The expressions are recognized row by row from left to right.