On Fri, 20 Feb 2015, Tobias Beer wrote:
> However, while you may not be equiped with the time-resources to do it all
> yourself, I think you could perhaps keep an eye on vision /
> implementation... being the most knowledgeable on the perhaps more critical
> TiddlyWeb end. Let's face it, who else really has the background to guide
> through that process? So, do you think it would be possible for you to open
> up some TiddlyWeb5 repo to which other's could make pull request where you,
> however, would be sketching out the basic issues, lead the conversation so
> to speak, where you are able, and possibly throw in the occasional doodle
> of the details of any of this...
I'm happy to advise and support people, and do try to keep track of
anything that has some relevant to TiddlyWeb. However I don't want to
be in the position of initiating a repo as someone else doing so is a
clear sign of real commitment by someone or some group. I think it
would be a bad idea to remove that signal.
If that signal is lit, then woot, I'll watch closely.
> * is designed to work with TiddlySpace rather than a generic TiddlyWeb
>> server
>
> You see, there are only a few people who really understand what that means
> precisely.
Which is interesting because I didn't write the tiddlyweb adaptor for
TiddlyWiki 5.
It's effectively this line that is the issue:
https://github.com/Jermolene/TiddlyWiki5/blame/3df341621d30b205775288e324cef137c48e9f6e/plugins/tiddlywiki/tiddlyweb/tiddlywebadaptor.js#L68
That is the only place that the recipe for the adaptor is set but it
uses a piece of data that only exists on TiddlySpace. As I've
described here:
https://groups.google.com/d/msg/tiddlyweb/UcYrnvGwNUQ/UJRgSn4VjfYJ
the recipe can be set manually but it would better if TiddlyWiki5
could ask the user what recipe on what server they want to use and
load that into a story (either including it in the current, replace
the current or making a namespaced one adjacent to the current).
> I take it, you mean to expose the available recipe's on the TiddlyWeb end
> and then assign them in the TW5 front-end. I guess, the point to start is
> that TiddlyWeb API for anyone to retrieve recipes or perhaps just bags, for
> starters.
Pretty much, yeah.
> There are some smarts in TiddlySpace that could be referenced at some
> "action-item" so that there would be at least something to start looking
> for solutions other than a blank canvas.
True. There are (as with everything) simple and deluxe ways to handle
things. The easiest thing to do is to respond to the HTTP response
code for an edit conflict with a warning message to the user. Then
they can choose to resolve it however they like.
> That is fine, so long as the setup is doable on the server-side. At some
> point there may be some TW5 Admin console to some TiddlyWeb backend, but
> let's just start with the basics of getting collaboration up and running...
> with requirements as to some srver-smarts in terms of setting things like
> recipes and bags up properly.
The direction I'm trying to push things is that as much smarts as
possible are in TiddlyWiki. This is possible. The APIs exist such that
a very minimal tiddlyweb server can do most of the things people have
been wanting.
> * content change notifications either through websockets or fairly
>> efficient support for being polled for "all changes since last time I
>> checked"
>
> Not precisely sure what that means in terms of what TiddlyWeb actually
> provides in terms of an API and how the communication details sort out.
> Again, I would think there is some codebase on the TWc end in TiddlySpace,
> isn't there?
Yes, I suspect so, but it really comes down (if not using the
websockets option) of frequently asking the server for info at the
right url:
https://tank.peermore.com/bags/cdent/tiddlers?select=modified:%3E2015
(anything in that bag since the beginning of the year)
Those selects work on any tiddler collection. There are also ways to
do it with searches.
--
Chris Dent
http://burningchrome.com/
[...]