URI scheme for cln

  • Post category:Uncategorized

here’s a way we can improve the URI scheme:

every KO would have these URI options

[path/p]
koId=####
state=view|edit
view=[mod specific interfaces / processes]
subview=[subprocesses]

all of them could be converted into a single path, so we wouldn’t have to do the mod_rewrite

/MyHouse/MyWorkShop/234/Edit/Content/Details/

or

/MyHouse/MyWorkShop/234/View/Question1/

what this does is treat our URIs as true objects.  we change some of the language so that we can treat it as a noun (no verbs – view is a state).  this would reinforce certain ideas about the atomic nature of these KOs.  they can all be called directly or within a context (ie. Room/XHTML).  they can all be called in certain ‘states’ which will either render a different interface for the object (show it simply or show an interface to edit it).