Re:Bringing functional to the frontend – Clojure and Clojure...
by zcam on Thursday January 17, 2013 @03:08PM
(#5074888)
I added two more questions while you where writing this reply probably.
Re:Bringing functional to the frontend – Clojure and Clojure...
by aria on Thursday January 17, 2013 @07:05PM
(#5076182)
Ah sorry, I didn't see. So the decision about DOM elem vs String is one I'm not 100% sure about, but I think the performance difference is at most like a 10-15% difference which wasn't that compelling to us. So I didn't see a strong reason to go one way or the other and the code I believe is cleaner producing nodes rather than Strings, but I easily could be wrong on both counts.
I didn't actually consider EDN. I haven't see enough of a win over JSON to consider it, but that could just be misinformed.
We don't use an MVC or components type framework, but ideas about how to setup those abstractions are percolating.