Folks,

Please take this suggestion seriously. I think it could resolve some 
serious multi-user requirements. Please also forgive me for my speculation 
and dreams.

*Given a number of multi-user scenarios and the ability to selectively save 
tiddlers to a server;*

I was wondering if it may be practical to have a namespace eg 
$:/username/tiddlername such the the active user creating or saving 
tiddlers will actually write to their namespace only. When the wiki loads 
the tiddlers in the namespace are loaded/reloaded rather than the 
tiddlernames they replace. For all intents and purposes it would look like 
they are using "tiddlername" however this will actually be saved as 
S:/username/tiddlername

The save mechanism can then be set to only save their name space tiddlers 
to the server, meaning they can not overwrite the servers shared, core or 
system tiddlers (but they can overide them with a replacement version). It 
is a bit like how the local-storage plugin works loading over the existing 
tiddlers, loading the users modified tiddlers from local-storage.

A version of this for single file wikis could permit the users namespace 
tiddlers to operate in local storage, and be saved/exported out for 
re-import so that they may be loaded back into local-storage. Well designed 
this would permit an independant save process (an alternate filename such 
as username.html) making this a possible feature of single file wikis as 
well. 

In both server and singlefile configurations username.html could also be 
imported into a master server wiki to enable a loosely coupled multi-user 
environment. Tw-Receiver or other save mechanisms php or auth could then 
control access to the username.html, so only the authorised user can 
load/save or export the whole wiki with there namespace tiddlers applied or 
stored independently.

Additional features could be introduced so the owner of the server can 
import the user name space tiddlers, review and selectively replace the 
server versions of the tiddlers. Thus users can submit proposed changes in 
their own name space for selective inclusion in the master namespace. 
Tiddlers in the user namespace could be tagged "pull request" so they 
appear as change requests to the master namespace.

I have no certainty what complexity is involved in what I propose but given 
how the local storage plugin now works my guess is the ability and features 
are only a small step away.

PS I know some may say that TW-Federation or similar already does this. If 
it is the case please publish it, whenever I look at tw federation and 
similar solutions, I get lost in developer discussions and can't find an 
actual solution, or go beyond some betas.

Thanks for considering this seriously
Tony 


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/18329178-ad2e-4faf-b282-58461ba38e5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to