I did some more poking around - my current problem is understanding how the first page is built.
It appears that everything starts by expanding $:/core/templates/tiddlywiki5.html If my backend is not written in JS I'll have to write code code to expand this file. Question is - is this easy? I guess it depends - hopefully the expander does not do tricky JS things (this would prevent easy porting to non JS backends) >From the point of view of porting the backend to a different language than node a pre-computed header would help (ie like a minimal empty.html) page. Is there a smaller subset of TW5 (ie smaller than empty.html) which gets you to the point where only get/put tiddler requests can be processed??? Cheers /Joe On Sunday, 18 February 2018 16:07:47 UTC+1, joearms wrote: > > Hello, > > I'm running the node backend downloaded from > https://github.com/Jermolene/TiddlyWiki5 > and was wondering exactly what the protocol between the browser and > backend was. > > At a guess it's JSON over HTTP (I might be wrong) - is the protocol > *specified* somewhere > or do I have to read the code (if so where?) > > Is there a way of tracing and dumping to a file all the messages between > the browser and node > so I can see exactly what is happening? > > Cheers > > /Joe > > > -- 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 https://groups.google.com/group/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/98c4d7f8-0ba5-4880-8b0f-4cb25da76dc2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
