Late edit: To avoid further confusion, I am thinking here from the point of view of developing plugins. The problems I mention with relationships can be solved if you’re building a standalone TW instance where you have full control over everything.
In TiddlyWiki as a modelling tool - let's discuss I mentioned some of the woes I have with handling relations and got two responses which I’d like to respond to to not derail the original thread:
- TiddlyWiki as a modelling tool - let's discuss - #11 by pmario
- TiddlyWiki as a modelling tool - let's discuss - #13 by TW_Tones
PMario: I think the relink-plugin is able to handle that. It also gives you more possibilities to “show” relations in the tiddler (i)nfo area.
TW_Tones: Just add the relink plugin and configure your additional fields in it.
This unfortunately won’t work for plugins i publish as I don’t want to create a dependency,
I am on the road so cant give a full answer but I have solutions to all your pecieved problems with relationships. Could be a thread of its own.
I’d love to hear them!
If you provide your own buttons for tiddler creation, deletion and relationship assignment you can ensure referential integrity for any complex relationship.
Only if the user will use those buttons and I can’t really force them to do so always. They can opt to not use them or they can use an action to remove/rename things causing data integrity problems. And while I recognize it might be a very niche problem I’d rather foolproof things as properly as reasonable – and this falls under reasonable for me.
Adding titles to list fields containing spaces etc… can use the format operator and work if used the the right way.
I didn’t know about the format
operator. While it is neat it exists it adds additional level of complexity as whatever you want to, say, append
you first need to put into a variable and format it. It would be better for that operator to support treating the input as a single title.
(Which I know I could report as an issue but it feels like a waste of time – too small a problem with too much thinking required for anyone else to tackle.)
Pinging @pmario and @TW_Tones since I respond to both of you here