MArcJ/Kryn.cms — Issue #64: Object/Link relation
Author: MArcJ
Created: 2011-11-10 10:52:09+00:00
State: open
Labels: Common Feature

We need to create a mechanism where we have unique links for objects (included files).
Especially in pages»content we need to know which objects are linked, so that we build the URLs to these objects dynamically when printing the content to the client.

This give us two main advantages:

1. We can save just the internal id to the object, instead of saving the generated URL.

So we save, for example a internal scheme like "file://34", where 34 is the object-id of a file. This means also that every object/file gets his own id. Another example for framework objects is "object://publication/43".

2. We don't need to adjust the saved html, when changing filename or object paths.

Cause all objects has it's own id and the object/file chooser returns the internal scheme instead of returning the actual path, all links still are legal, also although the object path identifier or filename has been changed.