Tifoist Project: latest version: all auto-generated sequential titles

64 views
Skip to first unread message

Charlie Veniot

unread,
Mar 12, 2021, 2:56:20 PM3/12/21
to TiddlyWiki
Public TiddlyWiki:  The Tifoist Project
  • Tifoist Is a Fact-Oriented Information-Semanticization Tool
Related threads of discussion:

G'day all,

For "fact" tiddlers, their titles have been (for a good while now) auto-generated sequential values (Fact-000001, Fact-000002, etc.)
  • The code of interest for that:   <$vars NewFactId={{{ [tag[fact]removeprefix[Fact-]maxall[]add[1]pad[6,0]addprefix[Fact-]] }}}>
"Entity" and "Attribute" tiddler titles are now also setup with auto-generated sequential values (entities are E000001, E000002, etc. and attributes are A000001, A000002, etc.).  Up until now, Entity and Attribute tiddler titles were the names of the entities/attributes.

Aside from the benefit of a consistent approach, why setup tiddler titles this way?

Since I'm using TiddlyWiki as a platform to build an application, I am setting everything up so that a user never needs to interact with Tiddlers directly.  Users only ever need to interact with my customized "interfaces" to fact/entity/attribute tiddlers.  (Well, anybody can get to the TiddlyWiki interface by simply unhiding the standard sidebar.)

I was finding changing TiddlyWiki titles problematic via customized interfaces, and I really didn't really care to try and get that to work because I'm of the opinion that TiddlyWiki works best when tiddler titles never, ever, change.

Although I love relink and just can't do without it in my other TiddlyWiki projects (I am a constant tweaker of everything/anything, including titles), title changes really suck when there are links from outside a TiddlyWiki to a specific tiddler in a TiddlyWiki.  Change the title on a tiddler, and a link from the outside breaks.

So my standard, for Tifoist at least, is to never allow tiddler title changes and to use auto-generated sequential titles for tiddlers created by the custom interface.

Something like that ...

Now back to end-user interface and functionality additions/enhancements.
Reply all
Reply to author
Forward
0 new messages