I have several types of tiddlers, say, Articles, Notes, Contacts, etc. I use tags to indicate these.
I also use fields extensively in my TiddlyWiki.
Some field names are generic, say, category. It can apply to almost all types of tiddlers.
There are two approaches possible:
-
Have a separate category field for every tiddler type. So, there will be article-category, note-category, contact-category. And use a relatively simple filter.
<$list filter="[contains:article-category<currentTiddler>]">
-
Or have only one category field but use a more complex filter to select the tiddlers we want.
<$list filter=[contains:category<currentTiddler>tag[Article]]>
To my mind, this is a trade-off between storing more data (more number of categories) v. having to do more processing (more complex filters). But I may be wrong.
As a design stratgy, which is better and why?