Building the next version of tiddlywebwiki

37 views
Skip to first unread message

chris...@gmail.com

unread,
May 11, 2013, 10:55:55 AM5/11/13
to tiddly...@googlegroups.com, tidd...@googlegroups.com

I've created a tiddler on tiddlyspace with some ideas about how the
next version of tiddlywebwiki might look and would appreciate some
feedback:

http://cdent.tiddlyspace.com/tiddlywebwiki2

tiddlywebwiki is the server side code that allows TiddlyWeb to host
TiddlyWiki classic.

I'm crossposting to both the [tiddlyweb] and [twdev] groups to ensure
some measure of visibility. Feel free to respond in either of those
groups or use the reply functionality on TiddlySpace.

Thanks.

--
Chris Dent http://burningchrome.com/
[...]

FND

unread,
May 11, 2013, 11:24:51 AM5/11/13
to tidd...@googlegroups.com
While I understand the motivation, I'm not quite clear on what exactly
you're hoping to achieve or what prompted that idea.

Regarding lazy loading, the last few years suggest that's not something
TiddlyWiki classic will ever be able to support properly - not least
because there's insufficient momentum from plugin authors to modernize
existing code.

The rest seems like details that, while certainly worth fixing, wouldn't
really have much of an impact on end-users.


-- F.

chris...@gmail.com

unread,
May 11, 2013, 12:57:59 PM5/11/13
to tidd...@googlegroups.com
On Sat, 11 May 2013, FND wrote:

> While I understand the motivation, I'm not quite clear on what exactly
> you're hoping to achieve or what prompted that idea.

Essentially it's like this: I want to de-emphasize the exceptional
nature of tiddlywebwiki by making it "just another plugin". If that's
going to happen anyway, then may as well take advantage of the
opportunity to fix some warts. So another way to word the question(s)
is: What are the warts in tiddlywebwiki?

> Regarding lazy loading, the last few years suggest that's not something
> TiddlyWiki classic will ever be able to support properly - not least
> because there's insufficient momentum from plugin authors to modernize
> existing code.

Perhaps the better term is "delayed loading". What /_tiddlywiki does
is load an empty tiddlywiki and then load in the tiddlers it wants.
The main reason this is good is that it can allow for some parallelism
in the browser and less smarts on the server. I do _not_ like smart
servers.

PMario

unread,
May 12, 2013, 11:02:53 AM5/12/13
to tidd...@googlegroups.com
pasted from the tiddler:
tiddlywebwiki
* Being a plugin in the `tiddlywebplugins` namespace.
I'm fine with this one, as long as installation is just: pip install tiddlywebplugins.tiddlywebwiki
 
* Providing an externalized semi-lazy version for online requests (as [[_tiddlywiki]]@apps does) while still doing the _injected_ version for downloaded (offline) wikis.
I do like optimizations, that make page loading fast but from a TiddlyWiki users point of view lazy loading is a regression. You have to wait untill the stuff is loaded, to actually use it. Why should I want to use something, that is worse than the status quo. I think time invested here is better invested in pushing TW5 integration.
 
* Simplify TiddlyWebAdaptor and related plugins to reflect the security issues in modern browsers. Sync is dead, is it not?
Is there someone, who actually can hack TW2 adaptors?

* Clarify media types for the below especially regarding tiddlywiki5:
* rendering tiddlers
* content negotiation for tiddlywikis
I think there is a post allready, that discusses TW2 / TW5 media types, but I can't find the links

-m

Jeremy Ruston

unread,
May 12, 2013, 3:20:06 PM5/12/13
to tidd...@googlegroups.com, TiddlyWikiDev
Hi Chris

Good stuff. My tuppenyworth:

> Simplify TiddlyWebAdaptor and related plugins to reflect the security issues in modern browsers. Sync is dead, is it not?

It is still possible to save TW classic locally using Firefox with the TiddlyFox extension, and so offline sync may well still be useful to some users. I'm very sympathetic to the goal of simplification, but the offline sync feature remains one of the more unique characteristics of TiddlyWeb+TiddlyWiki and so I'd be in favour of retaining the capability if practical. (TW5 will be able to handle the offline sync use case in due course, which may make it less important to support for TW classic).

> Clarify media types for the below especially regarding tiddlywiki5:
>> rendering tiddlers

Currently, TW5 uses:

* text/vnd.tiddlywiki for text written in TiddlyWiki5 wikitext
* text/vnd.tiddlywiki2 for text written in TiddlyWiki classic wikitext

>> content negotiation for tiddlywikis

TW5 treats TiddlyWiki documents as special text/html documents, and doesn't use a special content type for them.

Best wishes

Jeremy

--
You received this message because you are subscribed to the Google Groups "TiddlyWeb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlyweb+unsubscribe@googlegroups.com.
To post to this group, send email to tidd...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlyweb?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.





--
Jeremy Ruston
mailto:jeremy...@gmail.com

chris...@gmail.com

unread,
May 12, 2013, 4:09:46 PM5/12/13
to tidd...@googlegroups.com, TiddlyWikiDev
On Sun, 12 May 2013, Jeremy Ruston wrote:

> It is still possible to save TW classic locally using Firefox with the
> TiddlyFox extension, and so offline sync may well still be useful to some
> users. I'm very sympathetic to the goal of simplification, but the offline
> sync feature remains one of the more unique characteristics of
> TiddlyWeb+TiddlyWiki and so I'd be in favour of retaining the capability if
> practical. (TW5 will be able to handle the offline sync use case in due
> course, which may make it less important to support for TW classic).

What I meant was that sync capability was removed (the syncmachine)
and I don't think it has come back? In classic that is. Perhaps I'm
wrong and missed something?

>> Clarify media types for the below especially regarding tiddlywiki5:
>>> rendering tiddlers
>
> Currently, TW5 uses:
>
> * text/vnd.tiddlywiki for text written in TiddlyWiki5 wikitext
> * text/vnd.tiddlywiki2 for text written in TiddlyWiki classic wikitext
>
>>> content negotiation for tiddlywikis
>
> TW5 treats TiddlyWiki documents as special text/html documents, and doesn't
> use a special content type for them.

Does TW5 ever make an http request for a tw document?

Jeremy Ruston

unread,
May 13, 2013, 3:38:13 AM5/13/13
to tidd...@googlegroups.com, TiddlyWikiDev
Hi Chris

What I meant was that sync capability was removed (the syncmachine)
and I don't think it has come back? In classic that is. Perhaps I'm
wrong and missed something?

Doh, of course we did. So anyone who wants to use syncing won't need any specific support from the server - they will just have to load the sync stuff up as a plugin manually, is that right?
 
TW5 treats TiddlyWiki documents as special text/html documents, and doesn't
use a special content type for them.

Does TW5 ever make an http request for a tw document?

Only indirectly when importing documents/files. It expects TW documents to have the type text/html, and sniffs inside them to determine whether they are TW files or ordinary HTML files.

Best wishes

Jeremy
 


--
Chris Dent                                   http://burningchrome.com/
                                [...]

--
You received this message because you are subscribed to the Google Groups "TiddlyWeb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlyweb+unsubscribe@googlegroups.com.
To post to this group, send email to tidd...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlyweb?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


chris...@gmail.com

unread,
May 13, 2013, 4:14:45 AM5/13/13
to tidd...@googlegroups.com, TiddlyWikiDev
On Mon, 13 May 2013, Jeremy Ruston wrote:

>> What I meant was that sync capability was removed (the syncmachine)
>> and I don't think it has come back? In classic that is. Perhaps I'm
>> wrong and missed something?
>
> Doh, of course we did. So anyone who wants to use syncing won't need any
> specific support from the server - they will just have to load the sync
> stuff up as a plugin manually, is that right?

I'm not sure I'm following you here? As far as I was aware the reason
the sync machine was pulled out was because save to server from a
file: based tiddlywiki broke in classic (with the advent of modern
browsers) and has not been fixed, either in core or in a plugin. I may
be totally misremembering history here...

So while functionality of being able to PUT and GET tiddlers from a
tiddlyweb server remains as it always has been, there is complexity
with regard to how tw classic can interact with it when offline?

Jeremy Ruston

unread,
May 13, 2013, 5:23:34 AM5/13/13
to tidd...@googlegroups.com, TiddlyWikiDev
I'm not sure I'm following you here? As far as I was aware the reason
the sync machine was pulled out was because save to server from a
file: based tiddlywiki broke in classic (with the advent of modern
browsers) and has not been fixed, either in core or in a plugin. I may
be totally misremembering history here...

I believe it's still possible to manually enable cross domain HTTP requests from a file URI on Firefox and Chrome, but that may have changed. But still, all of this demonstrates that any further progress on sync will be strictly for the intrepid.
 

So while functionality of being able to PUT and GET tiddlers from a
tiddlyweb server remains as it always has been, there is complexity
with regard to how tw classic can interact with it when offline?

Yes, "complexity" === "horrendous restrictions".

Best wishes

Jeremy.
 


--
Chris Dent                                   http://burningchrome.com/
                                [...]

--
You received this message because you are subscribed to the Google Groups "TiddlyWeb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlyweb+unsubscribe@googlegroups.com.
To post to this group, send email to tidd...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlyweb?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply all
Reply to author
Forward
0 new messages