Andreas Hartmann wrote:

Hi Lenya devs,

to sum up the recent UUID discussion:

From my point of view, the next step would be to use UUIDs to
identify documents. That would mean that the default persistence
mechanism would store documents in a flat structure which would
look like this:


  550e8400-e29b-11d4-a716-446655440000
  550e8400-e29b-11d4-a716-446655440000.meta


is 550e8400-e29b-11d4-a716-446655440000 (without suffix meta) the
actual content? I guess you are refering to the reference to the resource,
right?

  550e8400-e29b-11d4-a716-446655440231
  550e8400-e29b-11d4-a716-446655440231.meta
  550e8400-e29b-11d4-a716-446655443402
  550e8400-e29b-11d4-a716-446655443402.meta


Do you share this opinion?


if we are talking about a default persistance manager then yes, but
if this would be hardcoded, then no ;-)

If not, how do you envision the storage structure?


I am not sure if we are confusing actual storage with referencing?

well, in order to show what I think how it should be implemented I have started
something at http://svn.wyona.com/repos/public/yanel/trunk

whereas it's not quite working yet and also got distracted on versioned published interfaces ... I have done this because I am afraid I will never be able to explain my ideas, so I will try to let this code speak.

Michi


-- Andreas




--
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                        [EMAIL PROTECTED]
+41 44 272 91 61


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to