Question

I would like to make an Om session from Clojurescript which can reply the whole GUI on another machine. How can I pass the atom from client to server so that only the changes are sent, so that the history of changes can be replayed somewhere else?

Update

I have put a demo up on the web. Go to:

connecttous.co

and then click "Previous sessions" at the bottom of the web page. And the code is here:

https://github.com/zubairq/coils/tree/connecttous

Was it helpful?

Solution

You have to take a look to this David Nolen project:

https://github.com/swannodette/om-sync

as he comments on the readme

Whenever application data changes om-sync will synchronize those changes via EDN requests to a server.

and also in this twitt

another thing that om-sync gives you nearly for free - web apps that work offline that easily sync when network connectivity restored

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top