Hello fellow friends,

I'm at the edge of taking one of those decisions that requires you to go in 
one way or another.
Binary operations are very efficient in computer science, but I'm horrible 
at choosing between two options.

Plugin installation is coming to NoteSelf, there is nothing that can stop 
it, I will implement it one way or another. That's why I want to know what 
users or other plugin authors think it's better about it.

I though about two possible implementations:

Plugins being saved along with the rest of the tiddlers

In NoteSelf you can have as many NoteBooks as you want, and you can sync 
every singe notebook to a different backend if you want. This 
implementation will save plugins as if they were regular tiddlers. 

Advantages:

   - Plugins will be saved and synced to the server.
   - Plugins will be synced across devices
   - Only the plugins that correspond to that notebook will be loaded

Disadvantages:

   - If you install the same plugin in three notebooks in that device, you 
   will end with three copies of that plugin.
   - Maybe you don't want plugins to be synced across devices ( probably a 
   minor problem)


Plugins being saved to a special shared database
In this implementation plugins are saved to a special database, shared 
across al the notebooks on that device.
Advantages:

   - Much easier to implement. But this means nothing to the end user
   - Saves space because only one copy of each plugin is saved
   - Plugins are not synced to the server, neither across devices 

Disadvantages:

   - Plugins are not synced across devices. This is both a problem an 
   advantage depending on your use case
   - All the plugins are loaded into memory. You can deactivate them per 
   notebook, but even if they are not executed they will be loaded into memory.
   - Plugins are shared, so if each Notebook has three different plugins 
   and you have three notebooks, you have to deactivate 6 plugins per 
   notebook. Can be tedious. 


Please don't discuss the possible technical implementations, or if it is 
even possible or not. I want to know what flow would you find better, and 
what you expect, so I can focus my efforts on that flow.

Thanks for your feedback, attention and help.

Regards

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c217aceb-1f93-4f67-9d84-cde2ab58b2ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to