On Sep 1, 10:06 am, Shantanu Kumar <kumar.shant...@gmail.com> wrote:
> On Sep 1, 12:24 pm, Sean Corfield <seancorfi...@gmail.com> wrote:
>
> > On Wed, Sep 1, 2010 at 12:16 AM, Meikel Brandmeyer <m...@kotka.de> wrote:
> > > I have good experiences with enlive[1]. There you write your templates
> > > in normal HTML files and modify them from Clojure via CSS-style
> > > selectors.
>
> > That's pretty horrible.
>
> You can try using StringTemplatehttp://www.stringtemplate.org/which
> is more _functional_ in usage style than 
> Freemarkerhttp://freemarker.sourceforge.net/
> and Velocityhttp://velocity.apache.org/-- let me know if you need
> examples on using StringTemplate with Clojure.
>
>
>
> > I guess I've been spoiled with CFML as a templating language :(
>
> > Maybe I'll end up writing my own templating engine for Clojure... sigh...
>
> Not a bad idea IMHO.
>
> Regards,
> Shantanu

Why do you need a templating language like CFML? I would consider
Enlive to be the acme of HTML solutions, it lets the HTML be plain
HTML that HTML developers can work on without having to ignore,
replace or remove any additional non-html markup. It uses CSS
selectors to define sections of the HTML that can be replaced with
dynamic content in a similar way to that new JQuery library all those
HTML developers are using now. What can you do in CFML that you can't
do in Enlive?

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to