IMO if you need a sandbox, you should use a sandbox. 

The $tw.wiki structure is the TW tiddler store, which contains the 
functions to manipulate tiddlers. It is implemented starting here: 
https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L850

It may be possible to create sandbox structure, that has less functions. 
eg: initializing / executing plugins and modules is not be needed in the 
sandbox. As you write, you don't want to interfere with the existing TW UI. 
The problem here is, that you'll need some helper functions, that map your 
sandbox tiddler content into the existing UI, so you can view and edit the 
content. 

IMO prefixing fields to prevent nasty side effects won't help. Since your 
plugins may be used / imported into TWs, that are heavily customized. So 
you may run into naming conflicts in the future.

-mario




-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" 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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4089606b-7aff-4b1d-a93a-f6ec26dbc58b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to