On Sunday, June 24, 2018 at 6:49:55 PM UTC-6, TonyM wrote:

> T J,
>
> In your question you use an alternative jargon to describe tiddlywiki, 
>
 
With the so-called "jargon", I was merely hoping to double check some of my 
understanding of TW by confirming perceived analogs between its vernacular 
and terms I happen to be familiar with and find more meaningful or *less* 
jargon-y.

then say "I've found that one dictionary can be set as the value of a 
> key/attribute/field on another dictionary." Could you please spell this out 
> a but more, 
>

Sure. Take, for example, JS:
const wiki = {} // associative array as DB
                   —given this structure is a collection of organized data— 
and DBMS
                   —given mechanisms are offered for managing and 
retrieving its data

wiki['Tiddler A Title'] = {text:'blah', ...other standard fields..., 
customField1:'meh'} // associative array as record, a tiddler
wiki['Tiddler B Title'] = {text:'stuff', ...} // another tiddler
wiki['Tiddler C Title'] = {
...standard fields...,
customFieldMyRefList: [
wiki['Tiddler A Title'],
wiki['Tiddler B Title']
] // an array of refs to records as the value of a custom field on a record
}
 

> and as mark suggests explain your objectives better.
>

The abstract nature of my inquiry accurately reflects the abstract nature 
of my objective: to understand the structures and mechanisms of TW 
generally/abstractly, to learn what types of things are (im)possible with 
it —not to, at this point, realize any particular use or application of it. 
 

> As a platform I do not believe there is any database model that can not be 
> represented in tiddlywiki, although some such as one that 
> demands"referential integrity" as Mark mentions would be a little 
> convoluted. 
>

So, if the value of a tiddler's title field changes, all ref mechanisms 
break?
 

> Could you explain this further?, 
>

I'll revisit if I devise a more concrete use case that I need help with.

but first let me try and answer the question.
>

Thanks.
 

> Any Field can be use to store lists of tiddlers, just as the tags field 
> already is doing, and there is a convention that uses the list field of a 
> given tiddler  to list the tiddlers tagged with that tiddler, allowing 
> drag-able reordering, and the listops operators etc.. are there to 
> manipulate such lists.
>
> "Set[ing] one tiddler or a Title List 
> <https://tiddlywiki.com/#Title%20List> of tiddlers as the value of a 
> custom field on another tiddler." Is possible using the above mechanism, 
> and set-field messages, list ops widget and more.
>

Some of the mentioned mechanisms (messages, listops, widgets, *et cetera*) 
have helped me find the relevant docs entries that I'd previously been 
unable to find. Thanks.

However I believe if we could see your objectives we may even be able to 
> give more detailed or alternative options.
>
> Regrads
> Tony
>
>
> On Monday, June 25, 2018 at 6:38:54 AM UTC+10, TJ Walker wrote:
>>
>> TiddlerFields are name:value pairs that make up a tiddler 
>>> <https://tiddlywiki.com/#TiddlerFields>
>>>
>>
>> So, tiddlers're more or less dictionaries/associative arrays/maps as db 
>> records, right? Within many contexts that offer such constructs, I've found 
>> that one dictionary can be set as the value of a key/attribute/field on 
>> another dictionary. I was hoping to be able to do this in TiddlyWiki; 
>> though, in poring over the docs, I wasn't able to determine how to set one 
>> tiddler or a Title List <https://tiddlywiki.com/#Title%20List> of 
>> tiddlers as the value of a custom field on another tiddler. Is this 
>> possible?
>>
>> ...
>>
>> ...
>>
>> ...
>>
> ...

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/aaca2572-aaab-497c-ae74-5dd30b2e8cca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to