Enfocus, Enlive and Kioo were designed to fully separate out the view (HTML/CSS) from the code logic. It separates these by design. I built Enfocus and kioo to better integrate the designer into process of building interactive apps. The ideal workflow for this model generally starts with a static prototype built by the designer. Small changes to the UI automatically flow through to the application without the developer having to modifying the code logic. Where JQuery is all about the live dom, I tend to think of the Enlive style template as SQL for a static prototype.
Sablono and hiccup style templating are designed to make it easy for developers to manage the UI directly. In a workflow where the developer is also operating as the chief UI designer this works great. Given you like JSX it doesn't surprise me you would prefer Sablono. Both JSX and Sablono combine markup with the component logic. My guess is your workflow is much closer to the traditional hiccup style workflow. Obviously I prefer to have the view separated but it is driven by my workflow. I have found that its best to use what makes you most productive and if it doesn't exist build it. :) Hope this help. CK On Saturday, January 25, 2014 6:39:06 PM UTC-5, Joel wrote: > Hmm... It reminds me of using JQuery style of "programming", by decorating > html ad hoc. > > > > Sablono on the other hand has the template and "decoration" together, which I > think I prefer, but really neither is quite like JSX that has raw html with > code embedded. > > > > Correct me if I'm not "getting it" > > > > On Friday, January 24, 2014 5:38:04 PM UTC-6, Creighton Kirkendall wrote: > > > Check out kioo, it does exactly what suggest. It uses a model similar to > > enlive to pull html in and compile into react nodes. > > > -- 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.
