On Wed, Sep 1, 2010 at 1:26 PM, Saul Hazledine <shaz...@gmail.com> wrote:
> A good tutorial can be found at:
> http://github.com/swannodette/enlive-tutorial

It was that tutorial that made me not want to use Enlive. Having *all*
the code completely outside the template means a lot of extra work
wiring up even the simplest stuff. It's also very fragile: changes to
the HTML can easily break the external templating code and the
designer would have no idea they might break it because there's no
visual clue in the HTML. There's no doubt that Enlive's very clever
and powerful, but I wouldn't want to build web sites with it.

The other thing that concerns me about that Enlive tutorial is that a
template needs to be applied to each HTML page to create a function
and that function used in the route definitions. That means that
adding a new page to the site touches multiple files which is not very
DRY.

I'll keep looking at the various suggestions offered so thanx to
everyone for the input on this!
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

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