URLs
Index
Main
Spirit
Design
Overview
URI matching
Accessing Insight content
HCI
URLs
Logicsheet
Overview

URLs as part of Human-Computer Interface

URLs are the main entry point for requesting Spirit to do something. They become an important part of Human-Computer Interface (HCI) when the URL is subject to bookmarking.

As a matter of fact, it makes sense for the Visitor (speaking in term of Actor) to bookmark a content page, because he or she wants to visit it again later. This leads to consider two cases :

  • The Visitor wants to bookmark a URL linking to the page containing the latest Publication.
  • The Visitor wants to bookmark a URL linking to a given Publication.

Note Publications are versions of content, related to a given Topic.

Since there is no reason to forbid a Publication format to change over time, the format information should not appear in URL, nor in HTTP session information kept by Cocoon.

Content URL format
Latest Publication for a Topic

URL is of following form :

http://my.host/shaman-spirit/~top-nn/my-resource
       --------------------- -------
       Host + webapp         Topic Id marker

Where nn represents Topic Id in Insight database.

Known Publication

URL is of following form :

http://my.host/shaman-spirit/~pub-nn/my-resource
       --------------------- -------
       Host + webapp         Publication Id marker

Where nn represents Publication Id in Insight database.




Copyright 2002 Laurent Caillette and l'Université René Descartes, Paris 5.
All rights reserved.