Changes between Initial Version and Version 1 of MOLES2/doc


Ignore:
Timestamp:
15/12/08 12:08:36 (12 years ago)
Author:
lawrence
Comment:

sequence diagram script (note sequence diagram macro not yet properly enabled)

Legend:

Unmodified
Added
Removed
Modified
  • MOLES2/doc

    v1 v1  
     1== MOLES version two documentation == 
     2 
     3==== Sequence diagram for interacting with MOLES 2 ==== 
     4 
     5{{{ 
     6#!SequenceDiagram 
     7participant user  
     8participant controller  
     9participant xmlDB 
     10opt two alternative user actions: creation and replacement 
     11    controller-> user: initial html 
     12    user -> controller: create or edit document 
     13    alt creation 
     14       controller -> user: blank document html  
     15       user -> controller: new document html 
     16       controller -> controller: convert to xml 
     17       controller -> xmlDB: insert document 
     18       xmlDB -> controller: status 
     19       controller -> user: status 
     20    end 
     21    alt edit 
     22       controller -> xmlDB: retrieve old version xml 
     23       xmlDB -> controller: old version xml 
     24       controller -> controller: convert to html 
     25       controller -> user: edit document html 
     26       user -> controller: document html 
     27       controller -> controller: convert to xml 
     28       controller -> xmlDB: insert old version as backup 
     29       xmlDB -> controller: status 1 
     30       controller -> xmlDB: insert new version 
     31       xmlDB -> controller: status 2 
     32       controller -> user: status 1 and 2 html 
     33    end 
     34end 
     35}}}