> Cookies are a bad idea for config.
As I noted in my previous response, cookies definitely have their use...
My understanding of the word "kludge" carries a very negative
> CookieSaver is a kludge to get around this and make TW config a little more
> bearable. I dream of the day when you can configure a TW in a sane way.
connotation... specifically, that of being a seriously flawed design
with badly written code that should be avoided whenever possible.
In fact, I feel that CookieSaver's design delivers *exactly* what is
needed:
...a very robust solution that addresses a wide-
range of use cases by employing a well-established syntax that
supports very flexible customization using programmable criteria.
At the risk of repeating myself, here goes.. Imagine this:
A user downloads a TW puts it's on their thumb drive configures it to
their preference, lets say he switches on backups, autosave, and
switches off animation, sets a backup directory and a few other
things. He feels satisfied that his TW is setup just how he likes it.
Then...
a) His browser is configured to clear cookies on shutdown. The next
day he opens up his TW and all his config is lost...
b) He uses the TW on another computer. ... All config is lost...
c) He opens in another browser on the same computer... All config is lost...
Now the user is:
* perplexed
* confused
* reentering their preferences. (perhaps again and again if they are
slow to catch on the 'eccentricities' of the TW configuration system.
* annoyed
* swearing
* in danger of losing data since he might not realise that backups are
switched off..
And so on. That's why.
Now let me preempt the standard rebuttal..
"But what about two different users of the same TW? One of them likes
animations on and one likes animations off? That's why the config
should be stored in cookies..."
(I was going to go on but I got other things to do...)
Look I know that cookies make sense for some things. But lets make
sure the baby is okay before we start working on the bathwater. Or
something like that.. (The baby is not having your TW preferences
disappear. And the hammer is my..... never mind.. [1] ;).
Best wishes,
Simon.
[1] Dr Horrible joke...
That's exactly the problem that CookieSaverPlugin was built to
> Look I know that cookies make sense for some things. But lets make
> sure the baby is okay before we start working on the bathwater. Or
> something like that.. (The baby is not having your TW preferences
> disappear.
solve... it provides an alternative to browser-based cookies that
ensures that all TW preferences are automatically saved in the
document, so that they don't 'disappear' when you move between
browsers or systems (or flush the cookies).
I've started collecting the issues raised here on the community wiki:
http://www.tiddlywiki.org/wiki/Dev:UI_Issues
That list is very selective; I've only added issues that are related to
the user interface and which I think are generic enough to be addressed
in the TiddlyWiki core.
(In order for these issues to be addressed though, they should be
discussed in separate threads on the developers list.)
Having said that, it's a wiki, so feel free to edit that page.
-- F.