I got a little deeper look into TiddlyWiki and came to wonder why the storage of Tiddlers is implemented the way it is. As I understand it every Tiddler is a single <div> which are all stored in the "Tiddler Area". But since every Tiddler is a object with its own properties ("created", "author", etc.), wouldn't it be a logic decision to keep them as JavaScript objects and store everything as a big JSON string in the storage area so we do not need to parse it back again?
My only clue is that there are some performance thoughts which I (with my limited JavaScript skills) do not get. Any hint or link would be very much appreciated.
Thanks guys
Tristan
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/03eeba93-0901-489e-a3cc-803559418c91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4d533999-f203-49fd-8cb1-661d76795dfd%40googlegroups.com.
If it's any use to anyone, I'm currently storing two collections of tiddlers externally to my wiki as JSON files, and I just pull them in when I need them. The tiddlers contained within each are all tagged, so I can quickly purge them again by filtering for that tag. This has been very useful for me as I'm generating my tiddlers in a Google Sheet, and exporting them as CSV, then converting the CSV to JSON. Whenever I've created a new batch of data in my spreadsheet, I just go through the steps and, voilà! I have a whole new set of tiddlers in my TiddlyWiki.