Paul,

Thank you for the feedback, guidance, suggestions, and further ideas.
I will have to take some time to sort through everything.

Mike

On Oct 1, 1:21 am, Paul Downey <[email protected]> wrote:
> Mike
>
> I wrote a hack as a plugin to assert a refresh on a theme switch (to
> handle where the core function hadn't spotted a template change) which
> might help:
>
> http://whatfettle.com/2008/07/ThemeSwitchRefreshPlugin/
>
> > So would I modify the above code (in a tiddler), tag as systemConfig,
> > and experiment from there? (is that how you HiJack?)
>
> If the question is on HiJacking in general, then I've landed a second
> pattern demonstrated by extending the core tiddlerToRssItem and
> generateRss functions:
>
>    http://whatfettle.com/2008/07/GeoRSSPlugin/
>
> but would welcome better approaches. I particularly dislike the
> longhand assignment of context in each function, a lazy habit I fell
> into when unable to fathom how to make "this" work for "me" -- I
> believe Doug Cockford uses a "that" variable in similar circumstances.
>
> I've also heard some people manipulate the core function source text
> and using eval to save duplicating code, but that's extreme drunken
> monkey-patching IMO ..
>
> http://en.wikipedia.org/wiki/Monkey_patch
>
> We should document these patterns on the wiki ..
>
> --
> Paul (psd)http://blog.whatfettle.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tiddlywikidev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to