summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeva <deva>2008-05-13 14:57:49 +0000
committerdeva <deva>2008-05-13 14:57:49 +0000
commit64a0aaaae8679b5f99f5bf1cf0a67489e85b5bd3 (patch)
treed351a9ede01c8ebd292be60038ed3abdd46c8465
parentf0359e8b4450d5074e7d19e95119f05d584a1e74 (diff)
Some more notes, and a nice diagram overview of the entire project.
-rw-r--r--server/NOTES30
-rw-r--r--server/strukturdiagram.diabin0 -> 2865 bytes
-rw-r--r--server/xml/example2.xml4
3 files changed, 19 insertions, 15 deletions
diff --git a/server/NOTES b/server/NOTES
index 899d572..17f8eb0 100644
--- a/server/NOTES
+++ b/server/NOTES
@@ -17,7 +17,8 @@ Den skal kunne uploade makroer/templates til serveren, som validerer
foregaa.
Editoren skal laese makroerne/templatesne direkte fra serveren, saa en
- servernaer editering bliver bibeholdt.
+ servernaer editering bliver bibeholdt, blandt andet med henblik paa
+ versionering.
###################
# Makro templates #
@@ -74,18 +75,21 @@ Sproget i en query som laver mapningen.
-> class, cpr, timestamp (oldest)
<- xml formateret
-<svar>
- <gruppe navn="fisk">
- <værdi navn="dims" value="42"/>
- <værdi navn="fnuller" value="blah"/>
- </gruppe>
- <gruppe navn="ostemad">
- <værdi navn="dims" value="42"/>
- <gruppe navn="olm">
- <værdi navn="fnuller" value="blah"/>
- </gruppe>
- </gruppe>
-</svar>
+<?xml version="1.0" encoding="UTF-8"?>
+<results>
+ <result timestamp="1234567890">
+ <group name="fisk">
+ <value name="dims" value="42"/>
+ <value name="fnuller" value="blah"/>
+ </group>
+ <group name="ostemad">
+ <value name="dims" value="42"/>
+ <group name="olm">
+ <value name="fnuller" value="blah"/>
+ </group>
+ </group>
+ </result>
+</results>
Mapningerne kan således laves 1:1 fisk.dims, fisk.fnuller,
ostemad.dims og ostemad.olm.fnuller.
diff --git a/server/strukturdiagram.dia b/server/strukturdiagram.dia
new file mode 100644
index 0000000..2b6299b
--- /dev/null
+++ b/server/strukturdiagram.dia
Binary files differ
diff --git a/server/xml/example2.xml b/server/xml/example2.xml
index 1ac7dba..075fdbd 100644
--- a/server/xml/example2.xml
+++ b/server/xml/example2.xml
@@ -8,11 +8,11 @@
<maps>
<map name="axis">
-- LUA program
- return RIGHT.axis
+ return right.axis
</map>
<map name="dioptri">
-- LUA program
- return RIGHT.dioptri
+ return right.dioptri
</map>
</maps>
<window name="mainwindow"