Changes between Version 2 and Version 3 of Documentation/Architecture

Show
Ignore:
Timestamp:
07/21/10 15:49:19 (3 years ago)
Author:
jean-gui
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/Architecture

    v2 v3  
    11= Unicorn Architecture Overview = #section_title 
     2 
    23== Observation Sequence == 
     4 
    35[[Image(Unicorn_flow_basic.png)]] 
     6 
    47The basic mechanism of Unicorn is thus: after receiving a request  from a user (via The Unicorn User Interface), the Unicorn Framework creates and sends a sequence of ''observation  requests'' to a number of observers. 
    58 
     
    912 
    1013== Tasks and Observations == 
     14 
    1115=== How does the framework decide what observation request to produce? === 
     16 
    1217It uses ''Tasks'' such as "validation", "conformance checking" or "check for broken links". Each task is  internally known by the framework as a sequence of observations, with different priorities given to different  observations. If a high level priority observation returns one or more errors (e.g a well-formedness error or invalid  markup), lower priority observations  will not be requested, and the user will only be sent the results of  the observations already processed. 
     18 
    1319[[Image(Unicorn_flow_tasks.png)]] 
    1420 
    1521The schema above shows how the tasks result in observations for an  online Web document. Unicorn can also handle Upload or Direct input of a Web document - in which case, Unicorn will  attach the document to its observation  requests to each observer. 
     22 
    1623[[Image(Unicorn_flow_tasks2.png)]] 
    1724 
     
    1926 
    2027=== What kind of Request does Unicorn send? === 
     28 
    2129All Unicorn observers are online services (on the Web). At the  moment, Unicorn can send any kind of HTTP GET or POST request. 
    2230 
     
    2735 
    2836=== What do Observation Responses look like? === 
     37 
    2938Unicorn understand Observation responses made in a language  specificed in the [Documentation/Observer/Response Unicorn Response Specification]. 
    3039 
    3140== Templates for UI and Results display == 
     41 
    3242[[Image(Unicorn_flow_templates.png)]]