@marc: Yes, it was intended. Of course, there's a little 'gap' between quantum and atom scale... ;-)
@Raymond: Got a Github project ready? I'd be lying if I told I didn't envision this as the next logical step; keeping atoms on the server in sync with those on the client. The communication part is the place where I have the less experience, so I'd very much like use yours. My naive vision was something like this: Database <--> abstraction-layer (atomize?) <-> atom <-------- INTERNET ---------> atom <-> abstraction-layer (entanglement?) <-> Reagent While 'entanglement' could create an atom from another atom, 'atomize' could create atom from nothing else than functions. On Thursday, May 7, 2015 at 7:53:42 PM UTC-4, Raymond Huang wrote: > > Wow! I'm literally hacking on a little project called `entangle` ;) which > keeps remote atoms in sync using websockets, core.async. > > On Thu, May 7, 2015 at 4:16 PM Marc Fawzi <[email protected] > <javascript:>> wrote: > >> Thank you for coming back to this ... I got busy in between the time I >> naively engaged you on that thread and have not had the chance to dig into >> what you were proposing but now Clojure and related concepts are far less >> foreign to me and I'll certainly be reading your proposed change and >> discussing it with the current maintainers in the Reagent org as well as >> Dan himself (hopefully! I know he just answered a whole bunch of issues) >> >> btw, I love the connotation with quantum entanglement (if that was >> intentional) >> >> >> >> >> On Thu, May 7, 2015 at 3:52 PM, Frozenlock <[email protected] >> <javascript:>> wrote: >> >>> You might be interested in a quick look at: >>> https://github.com/Frozenlock/entanglement >>> >>> I wrote it after working on reagent-cursors and seeing a pattern emerge. >>> >>> The main purpose is to have an abstraction layer between the data and >>> the application (IE Reagent). >>> This way you can decouple how Reagent is written and how your data is >>> stored in an atom. >>> >>> (Related Reagent issue: >>> https://github.com/reagent-project/reagent/issues/92) >>> >>> >>> On Tuesday, May 5, 2015 at 7:47:02 PM UTC-4, marc fawzi wrote: >>>> >>>> So after a couple of months drooling over ClojureScript's more advanced >>>> facilities, I've finally managed to play with Protocols and Records. >>>> >>>> It feels a bit OO-ish me, but can't see how I could survive without >>>> it.... >>>> >>>> Is this really functional programming or did I subconsciously revert to >>>> OO? >>>> >>>> PowerCursors >>> >>>> >>>> https://gist.github.com/idibidiart/0090a95b6b4f9c12c070 >>>> >>>> >>>> The previous version was a weaker abstraction which used multi-methods ( >>>> https://gist.github.com/idibidiart/2b3aa1594ce707227b96) and is very >>>> amateur in retrospect so I'm hoping the next version will be that much >>>> better... >>>> >>>> This one doesn't even >>>> >>>> If you have any feedback for this n00b please don't hesitate to share >>>> here. >>>> >>>> Btw, all of this digging and exploring because of one comment at our >>>> last SF Reagent meetup that cursors were just simple pointers. The latest >>>> abstraction doesn't even use any cursor per se but invents it's own simple >>>> yet more robust lensing pattern. >>>> >>>> Thank you for all your help answering my often ridiculous questions. >>>> >>>> Marc >>>> p.s. the last meetup's video IS coming this Thursday, and it will put >>>> all of this "Cursors can do it all, depending on how you define them" in >>>> context.. >>>> >>>> -- >>> >> You received this message because you are subscribed to the Google Groups >>> "Reagent-Project" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected] <javascript:>. >>> To post to this group, send email to [email protected] >>> <javascript:>. >>> Visit this group at http://groups.google.com/group/reagent-project. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at http://groups.google.com/group/clojurescript. >> > -- 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.
