Hi Simon; Because we are in 2013, you could do alot of clientside templating on the client.
So your clojure(ring/compojure) backend becomes a service for producing and consuming json. Then you use one of the many clientside javascript solutions to convert the json into html(or something like that.) .. i mostly use angularjs for this (angularjs.org). If you are a backend logic guy who can not touch js/html/css even with a ten foot pole... then my suggestion wont work for you. Regards. Josh On Sun, Jan 20, 2013 at 2:27 PM, Simon Brooke <still...@googlemail.com>wrote: > I've finally cleared other projects from my desk far enough that I'm about > to start trying to reimplement the CRUD part of http://sh.scenehere.info/ in > Clojure. I've been meaning to do this for a long time, but paying projects > have got in the way. However, it's now urgent because my old > Jacquard<http://www.journeyman.cc/library/jacquard/build/documentation/>library > which I wrote back in 1997 is now broken by my attempts to drag it > kicking and screaming into the world of Java 7, and frankly it isn't work > putting masses of effort into maintaining such ancient code that no-one > else is using any longer anyway. > > So I'm looking around at what is the right stack to use to build a CRUD > web application in Compojure. > > I really like Enlive, with its very clear separation of logic and > presentation. Are there any other libraries I should be looking at at the > templating layer, or is Enlive currently the one to go for? > > I was looking eighteen months ago at Noir, but I gather this is now > deprecated. > > I've been looking at the Blocker > <https://github.com/rcampbell/blocker>skeleton (which in turn is built on > [compojure "0.6.0"] > [enlive "1.0.0-SNAPSHOT"] > [clojureql "1.0.1"] > ), and it provides most of what I need, but I notice that > it has not been updated since 2011. > > The > swanodette/enlive-tutorial<https://github.com/swannodette/enlive-tutorial>has > also not been updated for two years, but all works very sweetly; and > the Getting > Started<https://github.com/cgrand/enlive/wiki/getting-started>page of the > Enlive wiki is equally old. Meantime, I see that there are very > active commits to the master branch of Enlive, and the latest from Git is > clearly different than the '1.0.0-SNAPSHOT' version that all the tutorial > materials I've seen. > > So, what is the current 'stable' Enlive? Is '1.0.0-SNAPSHOT' the version I > should be using? I note that the Compojure front page on GitHub clearly > says that the current stable is [compojure "1.1.5"], which is helpful. I > can't find a similar statement for Enlive? > > Again, I'm seeing a number of relational database abstraction libraries > for Clojure. Clojureql looks a good one, but are there others I should > seriously consider? > > Many thanks! > > -- > 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 -- 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