*Public TiddlyWiki:  The Tifoist Project <https://tifoist.neocities.org/>*

   - *Tifoist Is a Fact-Oriented Information-Semanticization Tool*

*Related threads of discussion:*

   - 
*ORM-ish à la TiddlyWiki: Project Updates 
   <https://groups.google.com/g/tiddlywiki/c/REBDnaetl6A/m/71UsdXMSAgAJ> *
   - *Using TiddlyWiki for fact-based information modelling and database 
   engineering ???* 
   <https://groups.google.com/g/tiddlywiki/c/57_eiPadjCo/m/JdJKvpktAwAJ>
   

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.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/86e00ee1-6c5f-4fdb-97ef-e5ab9e0f34a9n%40googlegroups.com.

Reply via email to