Hi Tobias,

On Feb 16, 5:11 pm, Tobias Beer <beertob...@googlemail.com> wrote:
> 1) Do you know in what context or for what usecase Udo did add a JSON
> data type? Did he use such data later on to generate js objects in an
> editable fashion? In general, I'd think something special /
> sophisticated like that really begs for being an addon to the plugin.

Udo used this for html form templates.  You can easily build forms and
prototype tiddlers and use it as a simple db.


>
> Although working with indentation in TiddlyWiki's input-textarea is
> not such a pleasure, I was wondering if it were good to have the
> custom fields definition itself be based on a JSON format, rather than
> simple text chunks split by some arbitrary, yet to be defined
> separators. But then using an envaluated js object might be more
> suitable as it has more lose requirements as for syntax requirements.

JSON is a programming language format and allows you to specify e.g.
string or number as type.  For users it is interesting to specify e.g.
in a tiddler about  country the type capital city.


> 2) "On the other hand I would think that adding data types is not
> really wiki like."
>
> What do you mean with "not wiki like"? I would call "wiki like"
> whatever can be used in the framework provided by a wiki. I mean,
> TiddlyWiki in itself is not as "wiki like" as other wiki frameworks.
> What I mean with that is that - due to it being a mostly single user,
> javascript implementation - its focus to some extend is shifted
> towards dynamic, scripted elements, as opposed to a focus on "mere"
> content and content structure alone in an open or multiuser editing
> process. However, TiddlySpace (or rather TiddlyWeb) is a big leap
> forward in the direction of a multiuser "wiki" environment.

I meant data types as in programming languages.  In a wiki everything
is parsed at view time.  Only at this moment data types are created
from strings.

>
> 3) "Maybe there is a concept of semantic types to use for it."
> Please expand on this as I am not sure where you're headed.
>
Have a look at semantic mediawiki.  Basically you can attach a type to
some text, e.g.  {Paris {capital-of-country France}}.  Once you have
this you can reason with the data, but you need (a lot) additional
software.


> Cheers, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to