Freeplane server: How to publish changes to clients

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Freeplane server: How to publish changes to clients

Volker Börchers
Hi,

Dimitry told me what his ideas are on how we could publish changes to clients and I promised to do a little write-up of additional ways I know.

Preface: we should stick to firewall-friendly HTTP solutions.

Regards
Volker

Reply | Threaded
Open this post in threaded view
|

Re: Freeplane server: How to publish changes to clients

Felix Natter
hello Volker,

many thanks for the information. Guessing from the HTTP/2 article, HTTP/2 push requires a
(immediately preceding?) request from the client.

So I wonder if we can use HTTP/2 push if the server wants to push an update to the
client without the client having recently sent an update to the server?

"It is important to note that HTTP/2 push is not intended to replace server-sent events or WebSockets,
which were introduced with HTML5"
I think we should read up on WebSockets, which seems adequate to me (though polling _might_ be
more firewall friendly, I don't know).

Cheers and Best Regards,
Felix
Reply | Threaded
Open this post in threaded view
|

Re: Freeplane server: How to publish changes to clients

Dimitry Polivaev
Administrator
> many thanks for the information. Guessing from the HTTP/2 article, HTTP/2 push requires a
> (immediately preceding?) request from the client.

+1 !!!

> "It is important to note that HTTP/2 push is not intended to replace server-sent events or WebSockets,
> which were introduced with HTML5"
> I think we should read up on WebSockets, which seems adequate to me (though polling _might_ be
> more firewall friendly, I don't know).

I think we can  also consider server-sent events

https://jersey.github.io/documentation/latest/sse.html 

https://stackoverflow.com/questions/40157946/what-is-the-difference-between-websocket-server-sent-events-sse-and-http2s-se

http://streamdata.io/blog/push-sse-vs-websockets/

https://www.google.de/search?num=100&q=server+sent+events+vs+websocket


Best regards
Dimitry
Reply | Threaded
Open this post in threaded view
|

Re: Freeplane server: How to publish changes to clients

Gilles FALCO
Hi,
i thought a use to synchronize différents user with tool like firebase, webcom (a google clone free for test and under 20 connections), we can also find other even totaly free
the api to use those service are in javascript (for me it is hard to get in the javascript plugin of freeplane)
Sincerely
Reply | Threaded
Open this post in threaded view
|

Is it a problem to have multiple collaboration models?

jaggz
Couldn't a simple model of collaboration, like freemind's, be implemented pretty quickly?
Great for LAN's and if someone forwards ports -- perhaps with a bit of slowdown upon initial sync to thwart brute-force attacks.  That'd be a start -- secure key negotiation could be added if desired later.