Hello, As I advance on the development of tiddlydrive things are getting bigger and complex. I am thinking if I should move some of the existing code to a new module with the new code should income. Currently I have four JS files:
- An TW utils module that manages most of the work. It makes petitions to the server via event listeners, provides callbacks functions and also provides functions to compose those petitions. - A library module with helper functions like configuration getters. - A library to manage how tiddlers are imported. - A startup module that creates the event listeners and starts the process of download tiddlers on startup if configured. I'm thinking in create a new module, but I don't know of which type it should be. It should listen and track changes to tiddlers, be responsible of telling what should be uploaded, what can be refreshed and to start the process of downloading tiddlers on demand. I know it looks like a syncer module and there are many ideas on current syncer modules that I find very useful, but there are may things keeps me away from making a syncer module: - Tiddlywiki will use my syncer as the only way of saving - There is no way to manage syncs to the server manually. - I can not control the timeout of when and how the tiddlers are uploaded or downloaded - I want to control how and when tiddlers are downloaded Thank you for any help. If anybody wants to check it out here is the code repository: https://github.com/danielo515/TiddlyDrive -- 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/d/optout.
