What is federation stuff about?

174 views
Skip to first unread message

Danielo Rodríguez

unread,
May 14, 2015, 6:45:30 PM5/14/15
to tiddl...@googlegroups.com
Hello. Many people here talks about federation. I tried to search about it, but thanks to my lack of familiarity with the term and that it is very generic I can't find any relevant information. I tried to figure it by context and I failed also. I'll be very grateful if someone explains it to me. Thanks in advance

Greg Davis

unread,
May 14, 2015, 8:36:14 PM5/14/15
to tiddl...@googlegroups.com
Hi Danielo

I'm still trying to wrap my head around it too. Briefly it seems Jeremy has found a way to let a TW act as a "server" to "share" designated tiddlers. Other TWs could "poll" a list of TWs and import the "shared" tiddlers. It was brought up in at least three Hangouts 74, 76` (I think the most discussion), 78 (using the mechanism to "serve" plugins for the new way to get plugins). Take a look at http://hangouts.tiddlyspace.com/# to see the descriptions of the Hangout discussions. I'm sure someone can give a much better explanation. Oh, and thanks for making the encryptTiddler plugin.

Greg

TiddlyWiker

unread,
May 15, 2015, 3:22:02 AM5/15/15
to tiddl...@googlegroups.com


On Friday, May 15, 2015 at 12:45:30 AM UTC+2, Danielo Rodríguez wrote:
Hello. Many people here talks about federation. I tried to search about it, but thanks to my lack of familiarity with the term and that it is very generic I can't find any relevant information. I tried to figure it by context and I failed also. I'll be very grateful if someone explains it to me. Thanks in advance


Could it refer to something like this?

Smallest Federated Wiki - Official Site

http://fed.wiki.org/view/welcome-visitors

ps. how do I get rid of the me in place of my name Tiddlywiker.

I am new here. this is my second post

Regerds,

Tiddlywiker

Jeremy Ruston

unread,
May 15, 2015, 3:28:21 AM5/15/15
to TiddlyWiki
Smallest Federated Wiki is a different project, started at about the same time as TiddlyWiki5. In terms of federation, the main difference is that SFW has a server-based architecture, while with TiddlyWiki we're exploring the extent to which we can federate content without dynamic servers.

The other main difference is that TW5 wikitext is richer, permitting custom interactive user interfaces to be created, not just static content. Indeed, TW5's entire user interface is rendered in wikitext.

Best wishes

Jeremy






Smallest Federated Wiki - Official Site

http://fed.wiki.org/view/welcome-visitors

ps. how do I get rid of the me in place of my name Tiddlywiker.

I am new here. this is my second post

Regerds,

Tiddlywiker

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1196d4e4-9e8c-44f4-990a-1608bedfefd0%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



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

PMario

unread,
May 15, 2015, 3:40:46 AM5/15/15
to tiddl...@googlegroups.com
Hi Greg,

Your description is right.

The idea is related to Smallest Federated Wiki. ... IMO the main idea there is, that you can link content from one wiki to an other, and display the info in one page.  The problem with this implementation is, that it needs server side software.

TiddlyWikis Idea is to work as a single file wiki. ...
The mechanism, that's discussed is similar to the new plugin library.

The mechanism used for the TW plugin library uses Iframes.
Iframes can use a javascript window.postMessage() [1][5] to communicate with the host page across domains [3].

Jeremy talks about the topic in hangout 78 see link [4].

Latest browsers implement some more javascript functions, that let different tabs ore even different browser windows [2] communicate with each other. This gives developers a bunch of new and fancy functionalities. ... but the "same origin policy" [3] applies here for security reasons.

Eg: If you have 2 tabs or even windows with the same tiddlywiki open and modify one of them. TW could implement a function that notifies the other windows about the change. .. So they can display a message, that editing there may overwrite content. In a second step syncing would be possible, but that's muuuch more work ;)

hope that helps.
mario

[1] https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage
[2] https://hacks.mozilla.org/2015/02/broadcastchannel-api-in-firefox-38/
[3] http://en.wikipedia.org/wiki/Same-origin_policy
[4] https://youtu.be/RSTxUXquegA?t=4743
[5] https://youtu.be/RSTxUXquegA?t=5212

Danielo Rodríguez

unread,
May 15, 2015, 12:03:04 PM5/15/15
to tiddl...@googlegroups.com
Hello Mario,

Thank you for your detailed explanation. I thought the federated thing was something about organizations or legal topics. Thanks for clarifying it

Danielo Rodríguez

unread,
May 15, 2015, 12:03:34 PM5/15/15
to tiddl...@googlegroups.com
Thanks also to Greg
Reply all
Reply to author
Forward
0 new messages