[ClojureScript] Re: Reactive without Virtual DOM

2015-06-01 Thread Marc Fawzi
The thread on the D3 mailing list if anyone is interested https://groups.google.com/forum/#!topic/d3-js/ZdmngGRMNto Since Mike Bostock and others has used D3 to build general purpose UIs, it would seems likely that we can realize a Reactive UI in ClojureScript that builds on D3 rather than React.

Re: [ClojureScript] [ANN] Études for ClojureScript

2015-06-01 Thread J David Eisenberg
On Monday, June 1, 2015 at 12:44:06 PM UTC-7, Andrey Antukh wrote: > Hi David. > > > Do you known that http://funcool.github.io/clojurescript-unraveled/ ? > > > Seems that goals of your project/book is slightly different so, may you > consider put a link to our book on your book preface. Yes,

Re: [ClojureScript] [ANN] Études for ClojureScript

2015-06-01 Thread Andrey Antukh
Hi David. Do you known that http://funcool.github.io/clojurescript-unraveled/ ? Seems that goals of your project/book is slightly different so, may you consider put a link to our book on your book preface. Cheers. Andrey On Mon, Jun 1, 2015 at 9:01 PM, J David Eisenberg < jdavid.eisenb...@gmail

[ClojureScript] [ANN] Études for ClojureScript

2015-06-01 Thread J David Eisenberg
I am in the process of writing a book: Études for ClojureScript, and I am putting it up at https://github.com/jdeisenberg/etudes-for-clojurescript for people to comment on. The list of chapters is not complete, so if there are topics you would like covered, let me know. The HTML version is at h

[ClojureScript] ANN: ClojureScript 0.0-3308, fixes & enhancements

2015-06-01 Thread David Nolen
ClojureScript, the Clojure compiler that emits JavaScript source code. README and source code: https://github.com/clojure/clojurescript Leiningen dependency information: [org.clojure/clojurescript "0.0-3308"] This release bumps the Clojure dependecy to 1.7.0-RC1 and includes fixes and minor

Re: [ClojureScript] Using a state machine to design/program UI ?

2015-06-01 Thread Khalid Jebbari
Thx ! Will be an interesting read > Le 1 juin 2015 à 18:00, Herwig Hochleitner a écrit : > > 2015-06-01 17:35 GMT+02:00 Khalid Jebbari : >> So the various states are encapsulated in a go loop? > > In multiple go-loops, actually. > >> I always knew that core.async could be used to model FSM's

[ClojureScript] Reactive without Virtual DOM

2015-06-01 Thread Marc Fawzi
I have a project now where I'm building lots of custom D3 components and realizing that I can build the views to react to lens/cursor-scoped part(s) of app-state by running through the generic 'update pattern' in D3, and specifying enter() and exit() life cycles. So I can have fully reactive views

Re: [ClojureScript] Using a state machine to design/program UI ?

2015-06-01 Thread Herwig Hochleitner
2015-06-01 17:35 GMT+02:00 Khalid Jebbari : > So the various states are encapsulated in a go loop? > In multiple go-loops, actually. > I always knew that core.async could be used to model FSM's. > In a way, core.async go blocks desugar into an fsm implementation (reified state, explicit state

Re: [ClojureScript] Using a state machine to design/program UI ?

2015-06-01 Thread Khalid Jebbari
So the various states are encapsulated in a go loop ? I always knew that core.async could be used to model FSM's. Well, if you can share the code somehow, do so. > Le 1 juin 2015 à 15:26, Herwig Hochleitner a écrit : > > Wow, big thread. > I just want to offer, how I've done a FSM implementa

Re: [ClojureScript] Using a state machine to design/program UI ?

2015-06-01 Thread Herwig Hochleitner
Wow, big thread. I just want to offer, how I've done a FSM implementation in CLJS: - FSM edges are core.async channels - FSM state changes are represented by passing a token object (which can contain additional state vars) across an edge channel - Each state is represented by a go-loop, with a sin