Hi Chris

Sorry to draw on your patience again, but I'm back to being confused.

> (Note the same semantics logic is why I think TW5 should consider being
more particular about tiddlers labeled as JSON.)

This is what I don't understand. What is it that TW5 is doing with JSON
that is wrong?

TW5 allows tiddlers to have the type "application/json", and I still don't
see why that is wrong.

TW5 uses "application/json" as the content type for PUTting modifications
to the server; at one point I thought that this discussion was suggesting
that the content-type for PUTting should be something else.

> The driving force is providing a way to ensure you can always GET an
encapsulated tiddler (text, tags, fields, etc) in JSON form even if the
tiddler contains JSON

But isn't the fact that we can't reliably GET a tiddler with all its fields
a symptom of a problem with the design of TiddlyWeb? Other data stores like
PouchDB don't appear to have any similar behaviour. I don't understand why
it is TW5's problem.

> It's becoming increasingly unlikely that I will get to this before mid week
next week

At my present rate of progress it's going to take me longer than that to
understand what's going on :)

Best wishes

Jeremy



On Thu, Apr 10, 2014 at 11:21 AM, <[email protected]> wrote:

> On Thu, 10 Apr 2014, FND wrote:
>
>  However, while semantically that seems more correct ("here's a tiddler",
>> rather than some arbitary JSON), I'm not sure the distinction matters on
>> PUT. On GET it matters because it actually changes the representation.
>>
>
> As I said elsewhere I think having parity on GET and PUT is useful,
> largely because of the semantic correctness.
>
> (Note the same semantics logic is why I think TW5 should consider
> being more particular about tiddlers labeled as JSON.)
>
>
> --
> Chris Dent                                   http://burningchrome.com/
>                                 [...]
>
> --
> 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 post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tiddlywikidev.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to