TiddlyWiki Integration
I use TiddlyWiki daily because it’s the leanest, meanest, simplest, most intelligent personal data management system I’ve ever seen.
It’s only drawbacks are the lack of scalability and the lack of content/code seperation. This means, if you have 7 wiki files for managing 7 projects you have to update them all when a TW upgrade is available. This is especially difficult if you’ve customized the code yourself and not always using hijacking plugins (naughty
).
Regarding scalability, there’s only so much you can do with an HTML file where all data is loaded into memory at once. Sometime in the future you will have a performance problem.
I propose to hijack 3 aspects of TiddlyWiki and move all tiddler data to the server’s database.
-
SaveToDiv() -> Don’t save to HTML, post entry/entries to server
-
LoadFromDiv() -> Likewise, load all tiddlers (except their main body text) from the server into memory.
-
Access to the tiddler’s body (not cached in memory)
In this way, memory is saved by only loading a tiddlers body (80-90% of the data size) when it is needed.
