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 actually intended with my question was more like synchronization > of app state with the server state. I was keen on the methodology that's > predominant in the community especially since I use a UI library like Om. > Om-sync looks like a potential but I don't see much enthusiasm been shown > around it. > > Regards, > John.
I don't know about anyone else, but I use datomic, which allows me to store a transaction-id at the client. At regular intervals (every 10s) I poll the server, asking it to give me everything new since transaction x. I don't use a framework, because it's fairly easy to implement. In this other project I have, where I used mongodb, I used a combination of websockets and differ for synchronization. Datomic is easier however. -- 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 Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
