Mat

In one published wiki for a client I have a view template whose first test is 
does the current tiddler have an object-type field. It then uses the value to 
load the view template for that object type. I see no performance problems.

In each of my object view templates I refer to field values through a macro 
'<<field fieldname>>' which looks up how to display the fieldname according to 
a field definition and its field type e.g. date, and In fact displays the 
fields according to a global or local tiddler mode read-only view update and 
edit.

This allows the same object template to be used for all modes.

In this case most tiddlers with an object type have all there values in fields 
other than text which is reserved for simple notes.

In addition I have a global designer mode that if on the view template will 
show a link to the object template. And a field mode that places a link to the 
fields definition and field-type just after it is displayed.

There happens to be less field types than field definitions.

This is a potted overview but I hope it shows a little structured design can go 
a long way and without performance problems.

Perhaps one day I will publish this as a tiddlywiki platform tool.

Regards
Tony

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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/tiddlywikidev/649f0698-d405-4d9d-ba29-ca65a1ad2a2a%40googlegroups.com.

Reply via email to