On Jan 25, 2014, at 4:42 PM, Creighton Kirkendall <[email protected]> wrote:

> 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.

This is a really good articulation of the use-case target of these libraries.

Each of us will have our own requirements, and my requirements match exactly 
what Creighton has described above.
I use professional UI/graphics designers (when I can!) to create the style and 
layout of my apps.
Typically the furthest they can take things is HTML/CSS markup.  They aren't 
going to produce Clojure templates...

Right now, I am attempting to use Kioo/Om to re-implement a front end, and it 
is great to have actual HTML files
describing individual components/snippets that are stitched together.
And the HTML files are easily shared/updated with/by UI/graphics designers.

> 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. :)

When I don't need/want the "plain old HTML file", I use Sablono...


-- 
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.

Reply via email to