> I had considered implementing a centralised key-value store ... for intra > tiddler storage during runtime. Allowing intra tiddler communications by > using title as initial key value . .and then json for retrieval of > information. But I realised it was just a data-tiddler in all but name. > > Which actually as I write it has some appeal. Is there an api call for > making and deleting system tiddlers automatically and where would be the > best place to look for examples if there is? >
wiki.js has the main methods for working with the tiddler store, including adding and deleting tiddlers. There's no special calls to create system tiddlers, you just prefix the title with "$:/" to make it a system tiddler. > I could make a temporary state tiddler to hold current running state > across my TW5, that is trashed automatically every new session. > Alternatively, TW5 could just delete all $:/state/... tiddlers at startup. > Use it to store state and reference the data using simplified json. > You are back to data tiddlers! > It would use the tiddler paradigm and still achieve what I want I think. > In addition is there a way to make a tiddler without it being written back > through node? > Not at the moment. Again, part of the purpose of the $:/state/... namespace is to make it possible to filter in that way. Best wishes Jeremy Thanks David -- Jeremy Ruston mailto:[email protected] -- 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 http://groups.google.com/group/tiddlywikidev. For more options, visit https://groups.google.com/groups/opt_out.
