Hello gentlemen,

as Scott have already pointed most of the technical stuff, I'd like to add 
a couple of pragmatic tips:

1. eval vs import for plugins: I personally use eval for some plugins that 
are 1) editor tools and not necessary to read content 2) can be 
device-dependent

example 1: IntelliTaggerPlugin by Udo [1] is needed only for authoring and 
it's convenient to eval it from a central TW (any changes in it will apply 
instantly -- for instance, one may desire to localize it)
example 2: PasteUpPlugin by Eric [2] and some helpers can be eval'ed from 
outside, if use only for "double-click to edit transclusion" option; as 
they have some problems with touch screens, it may be useful to include and 
eval them from outside, from a common TW that is specific for the current 
device, and have another central TW for another device
example 3: I wouldn't use eval for plugins like NestedSliderPlugin [3] or 
MathJaxPlugin as they are needed to view the content, and once I need to 
send a TW to somebody else, I don't need to import them, they're already in 
my TWs, -- I use the "import:4" option for them.
example 4: despite the fact that I'd like to eval QuickEditPackage [4] from 
outside, it requires to *modify* both ToolbarCommands and EditTemplate 
(well, I've solved the latter one by modifying QuickEditPlugin), so I only 
installed it to TWs where it's most useful

2. In fact, I use a more complicated system which allows me to "install" 
any plugin (well, almost any) I need in any TW by a couple of clicks, once 
the plugin is installed into the central TW or in a "microrepository" -- a 
separate TW. The system is not yet as simple as I'd like it to be, but I'll 
outline the principles of establishing it:

* each plugin is stored in a central TW or in its microrepository along 
with another tiddler named "NameOfThePlugin installer and updater" and 
tagged.. "component installer", as far as I remember
* each TW wikifies a "hub" -- a tiddler from the central TW which contains 
different include and descirbeNode macros
* the hub has somewhat like <<include "node: common settings.html" 
filters:[[Components installer]]>>, and the [[Components installer]] 
tiddler includes "installer and updater"s and lists them
* each "installer and updater" has some include macros that: import:4 the 
"installer and updater" itself; and import:4 the plugin and other necessary 
stuff
* when one opens and "installer and updater" from the list in the 
[[Components installer]], "installer and updater" offers to import stuff
* installers and updaters are also transcluded into the "hub", so if an 
"installer and updater" was imported previously, it tries to update the 
plugin on startup

like I said, not a very simple system, but in the end it allows to save 
quite a quantity of time.

Best regards,
Yakov.

PS as I don't read the community forum very consistently, it's better to 
write to the [5] thread -- I'm subscribed for the comments there

[1] http://tiddlywiki.abego-software.de/#IntelliTaggerPlugin
[2] 
http://www.TiddlyTools.com/#PasteUpPlugin<http://www.TiddlyTools.com/#NestedSlidersPlugin>
[3] http://www.TiddlyTools.com/#NestedSlidersPlugin
[4] http://tiddlytools.com/#QuickEditPackage
[5] https://groups.google.com/forum/#!topic/tiddlywiki/rQz8aDt76vQ

понедельник, 26 августа 2013 г., 19:04:37 UTC+4 пользователь Tobias Beer 
написал:
>
> Thanks, again Scott, very insightful stuff here.
>
> As for the [[toSync]] tag, it's down to personal usage.  I have many 
>> plugins installed and enabled in my add-ons repository that I don't want 
>> running in each and every TiddlyWiki.  Having the [[toSync]] tag allows me 
>> to be selective with ease. (If I wanted all my plugins in all my 
>> TiddlyWikis, though, I'd do exactly what you suggest: <<include 
>> "AddOns.html" filters:"[tag[systemConfig]]" import:4>>)
>>
>
> Makes sense. Control is a good thing and with TiddlerTweaker you can 
> easily add or remove the *toSync* from (all) tiddlers tagged *systemConfig
> *.
>
> Best wishes, Tobias.
>

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to