On Fri, 18 Nov 2011, tiddlygrp wrote:

Additionally I propose to add an optional  journal or history field
analogous to Ward's federated wiki (
https://github.com/WardCunningham/Smallest-Federated-Wiki/wiki/Story-JSON
).

If you put the journal in the tiddler, then when trying to reconcile
a lot of forks you need to merge up the journal.

That's non-trivial. And what does it get?

By just adding these fields nothing substantial has to change in the
core.  Nothing needs to change in the ui! and the use of tw.

But these changes are building blocks for tiddler identification,
server side integration and federation.  Let's see how they are used.

Keep it simple.  Keep tw extensible.

+1

I had a think on how to bootstrap and also enforce uuids yesterday,
which led me to an important conclusion:

Assuming the tiddlywiki core did not get a uuid field extension, or
an old tiddlywiki interacted with a server:

* when the server first saw the tiddler

if tiddler is new in this context (not persisted on this server):
   if a uuid field is included:
      persist that field with the tiddler
   else:
      add a uuid field
if tidler is not new in this context:
   if a uuid field is included:
      replace it with the uuid of the stored tiddler

The idea behind this pseudo-code is that it would insure that
the server has authority about uuids: You can't give it false uuids.

However the only way this works is if the server can determine,
accurately, if the tiddler is new in a certain context, and in order
for it to determine that it must use something other than the uuid
as the identifier for the tiddler (in the tiddlyweb context this
would be bag.name and tiddler.title). But then you have clobbered
the capability for uuid's to transcend renames and similar actions.

So, if you want real ids they gotta happen at the birthplace.

(We mostly know that, but just reinforcing the point.)
--
Chris Dent                                   http://burningchrome.com/
                                [...]

--
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to