Re: [ClojureScript] Coordinating app state changes with the server.

2015-03-18 Thread Colin Yates
I have never actually found a use case where it is useful to share the same state between the client and the server but then most of the application is rendering paged queries so is fairly unusual. I guess I can see the benefit for static-ish reference data. Am I missing something? On 18 March 20

Re: [ClojureScript] Coordinating app state changes with the server.

2015-03-18 Thread Martin Klepsch
> With Firebase, it's really easy - just register listeners for your data in > Firebase and in those handlers update your app state. When you do writes, > you write to Firebase directly and its client immediately fires local events > to any affected listeners so you immediately get the changes

Re: [ClojureScript] Coordinating app state changes with the server.

2015-03-18 Thread Mike Haney
The approach used by om-sync (optimistic update) is the right approach, IMO. I'm a big fan of Firebase, and one of the things it gives you "for free" is optimistic updates, and it works with any front-end library, not just Om. With Firebase, it's really easy - just register listeners for your d

Re: [ClojureScript] Coordinating app state changes with the server.

2015-03-18 Thread Colin Yates
Hi John, I am using sente with http-kit and I understand it can work with jetty as well. I don't use immutant. For a shared data structure between client and server; Robin's answer of Datomic looks nice, but I have no personal experience of that. On 18 March 2015 at 09:08, Robin Heggelund Hansen

Re: [ClojureScript] Coordinating app state changes with the server.

2015-03-18 Thread Robin Heggelund Hansen
onsdag 18. mars 2015 10.00.24 UTC+1 skrev John Chijioke følgende: > Thanks. The sente library seems like a well written one. I have been avoiding > it because it supported only Immutant but now pedestal has Immutant support > I'm giving it a shot for client server communication. > > But what I

Re: [ClojureScript] Coordinating app state changes with the server.

2015-03-18 Thread John Chijioke
Thanks. The sente library seems like a well written one. I have been avoiding it because it supported only Immutant but now pedestal has Immutant support I'm giving it a shot for client server communication. But what I actually intended with my question was more like synchronization of app sta

Re: [ClojureScript] Coordinating app state changes with the server.

2015-03-17 Thread Colin Yates
For communication I use https://github.com/ptaoussanis/sente On 17 March 2015 at 18:47, John Chijioke wrote: > Was the most popular way Clojurescript developers use to coordinate changes > to their application state with the server? > > Regards, > John. > > -- > Note that posts from new members

[ClojureScript] Coordinating app state changes with the server.

2015-03-17 Thread John Chijioke
Was the most popular way Clojurescript developers use to coordinate changes to their application state with the server? Regards, John. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the G