I think some unencumbered exploration in this area would be a good thing.
As we've seen, trying to mimic TiddlyWiki's behavior doesn't get us very
far - especially given that the current implementation seems incomplete.
So if you were to come up with an "optimal" solution without having to
worry about compatibility, we could compare the two approaches, perhaps
even revisiting the TiddlyWiki core's implementation.
-- F.
I'd also given thought to the difference between selection and
filtering. My simplistic way of fitting them together was to invent
the idea of a implicit selector at the start of a filter list. Thus, a
construction like "[tag[blog]sort[modified]limit[10]]" would be
treated as "[select[*]tag[blog]sort[modified]limit[10]]".
Cheers
Jerm
>> Yeah, that's perniciously hard to reliably parse for both a person
>> (at
>> least this) and a computer, and it couples into the same engine three
>> very different pieces of functionality. That coupling is what you
>> might call anathema to the TiddlyWebWay™.
>
> I think that part of the dissonance is that the TiddlyWiki filter
> syntax is intentionally wiki-ish, while the TiddlyWeb design is being
> drawn more towards URI-ishness. And URI-ness intentionally beats
> wiki-ness for TiddlyWeb, I think.
I thought that was true of TiddlyWiki filters, given they're also
useful for permaview fragids?
I gained a lot of utility using a newline to combine multiple filters:
http://whatfettle.com/2008/07/SegmentedFilterPlugin/
but using ';' as a union operator seems fine and more fragid friendly.
I'm not sure intersection adds that much beyond optimisation and
syntactic sugar.
> Originally, I was attracted to a
> common syntax for the client and the server because it makes it easier
> to offload client-side work to the server, but, I guess the ability to
> convert between the two different syntaxes would be OK.
I'd push for a common syntax, or at least seeing if one can be a
subset of the other.
Paul (psd)
--
http://blog.whatfettle.com
Yes, I think at the time I was so thrilled that I'd figured out a way
to get permaviews working at all that I didn't pay enough attention to
the hideousness of the URLs. All that %5B%5C stuff is not pretty at
all.
On a related point, I carefully made the TiddlyWiki client code only
use the bit of the URI after the '#' fragment identifier, because the
specs seemed to imply that the fragment was for the client, and the
query string was for the server. I was particularly thinking that
people might need to host TiddlyWiki documents on URIs that they
couldn't control, and therefore might include random query strings.
Now that we've got TiddlyWeb, it has occurred to me that it might be
neat to give the client code (when run in serverless mode) the ability
to parse query strings itself. It would then be possible to give
someone a static URI for a permalink to a particular tiddler in a
TiddlyWiki document, and for that URI to survive the TiddlyWiki
document being upgraded into an instance of TiddlyWeb.
Cheers
Jerm