[ClojureScript] Re: Rete in ClojureScript

2013-12-19 Thread Ryan Brush
Sure! I'm definitely a fan of Jess, and I hope that Clara will feel pretty familiar to users of it. There is a lot of commonality, as both are Lisp-based forward-chaining rules with similar semantics. There are some syntactic differences -- I didn't pull over some of Jess's shorthand syntax, an

Re: [ClojureScript] Re: ANN: Om, a ClojureScript binding to Facebook's React

2013-12-19 Thread Dan Holmsand
On 19 dec 2013, at 23:10, David Nolen wrote: > On Thu, Dec 19, 2013 at 5:02 PM, Dan Holmsand wrote: > You also seem to call React asynchronously. That may be good for performance, > but doesn't makes testing awfully cumbersome? Why not rely on React's own > batching? > > React's batching depe

[ClojureScript] Re: Rete in ClojureScript

2013-12-19 Thread Sven Richter
Hi Ryan, this is a bit off topic, but as a Jess user I am curious if you know the Jess engine and could leave a few words about how Clara compares to Jess, if it does at all? Best Regards, Sven Am Freitag, 29. November 2013 15:18:14 UTC+1 schrieb Ryan Brush: > A release is coming soon, but I w

Re: [ClojureScript] Re: ANN: Om, a ClojureScript binding to Facebook's React

2013-12-19 Thread David Nolen
On Thu, Dec 19, 2013 at 5:02 PM, Dan Holmsand wrote: > You also seem to call React asynchronously. That may be good for > performance, but doesn't makes testing awfully cumbersome? Why not rely on > React's own batching? > React's batching depends on setState, which I don't want to get involved

[ClojureScript] Re: ANN: Om, a ClojureScript binding to Facebook's React

2013-12-19 Thread Dan Holmsand
Nice, React seems to be very popular around here today... Very interesting to see such a different take on a React interface from my own humble attempt. I try to keep components as self contained as possible, where as you seem to like more of a top-down approach (if I understand your code corre

Re: [ClojureScript] ANN: Om, a ClojureScript binding to Facebook's React

2013-12-19 Thread David Nolen
Haha, why not? Nah, the name comes from the fact that we always start from the beginning, and that DOM minus D is OM. I didn't put that much thought into it honestly :) David On Thu, Dec 19, 2013 at 4:54 PM, Haim Ashkenazi wrote: > Hi David, > > I was wondering (ever since I saw a tweet of yo

Re: [ClojureScript] ANN: Om, a ClojureScript binding to Facebook's React

2013-12-19 Thread Haim Ashkenazi
Hi David, I was wondering (ever since I saw a tweet of yours couple of days ago). Is it named after this ? Just curious. Thanks On Thu, Dec 19, 2013 at 9:12 PM, David Nolen wrote: > Enjoy, > http://swannodette.github.io/2013/12/17/the-fut

Re: [ClojureScript] Re: ANN: Om, a ClojureScript binding to Facebook's React

2013-12-19 Thread David Nolen
Give it a spin. It's very much early days so I wouldn't get too tied to anything that's currently present. It'll probably take a few months to get something closer to a real API nailed down but the conceptual foundation is there. On Thu, Dec 19, 2013 at 4:39 PM, Luke Morton wrote: > Excellent an

Re: [ClojureScript] Re: ANN: Om, a ClojureScript binding to Facebook's React

2013-12-19 Thread Luke Morton
Excellent and insightful post David. Thanks for much for your work in Clojure and ClojureScript. Going to be playing with Om as part of my exploration of Clojure(Script). On 19 December 2013 21:36, David Nolen wrote: > On Thu, Dec 19, 2013 at 4:25 PM, Thomas Heller wrote: > >> Hey David, >> >>

Re: [ClojureScript] Re: ANN: Om, a ClojureScript binding to Facebook's React

2013-12-19 Thread David Nolen
On Thu, Dec 19, 2013 at 4:25 PM, Thomas Heller wrote: > Hey David, > > looks really interesting although I have to be a little critical of your > benchmarks. Add a download of 200 todos via xhr and then do the render, you > will most certainly lose to other JS Framework out there (especially if y

[ClojureScript] Re: ANN: Om, a ClojureScript binding to Facebook's React

2013-12-19 Thread Thomas Heller
Hey David, looks really interesting although I have to be a little critical of your benchmarks. Add a download of 200 todos via xhr and then do the render, you will most certainly lose to other JS Framework out there (especially if you choose EDN over JSON) cause of the extra overhead associate

Re: [ClojureScript] ANN: Om, a ClojureScript binding to Facebook's React

2013-12-19 Thread Mimmo Cosenza
Wow. It's a true Christmas present. Thanks David Mimmo Inviato da iPad Scusate gli errori d'ortografia > On 19/dic/2013, at 20:12, David Nolen wrote: > > Enjoy, http://swannodette.github.io/2013/12/17/the-future-of-javascript-mvcs/ > > David > -- > Note that posts from new members are moderat

[ClojureScript] ANN: Om, a ClojureScript binding to Facebook's React

2013-12-19 Thread David Nolen
Enjoy, http://swannodette.github.io/2013/12/17/the-future-of-javascript-mvcs/ David -- 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 f

Re: [ClojureScript] ANN: Cloact, yet another React wrapper for ClojureScript

2013-12-19 Thread Dan Holmsand
Yes, React is really great (and it actually seems to fit ClojureScript with its immutable datastructures better than JS...). /dan On Thursday, December 19, 2013 4:49:32 PM UTC+1, David Nolen wrote: > Great to see the growing interest in React :) > > > It's also worth giving Om a look: http://

Re: [ClojureScript] ANN: Cloact, yet another React wrapper for ClojureScript

2013-12-19 Thread David Nolen
Great to see the growing interest in React :) It's also worth giving Om a look: http://github.com/swannodette/om. The implementation is very simple - the big idea is that we might as well always re-render from the root. Then the *entire* UI can represented with EDN and is always snapshotable. It's

[ClojureScript] ANN: Cloact, yet another React wrapper for ClojureScript

2013-12-19 Thread Dan Holmsand
It seems to be quite popular these days to try to fit Facebook's React library into ClojureScript, so I thought I'd have a go as well... The result is here: https://github.com/holmsand/cloact Cloact uses plain cljs functions to define React components, and a Hiccup-y syntax for stringing them

[ClojureScript] Integrating one cljs project into the other during development time

2013-12-19 Thread Sven Richter
Hi, I am trying to integrate one cljs project into the other one during development time on my windows machine. For this I use the checkouts feature and I just cannot get it working. I setup a minimal "not-working" example on github: https://github.com/sveri/cljs-checkout-example The goal is t