On Sun, Jan 20, 2013 at 3:27 AM, Simon Brooke <still...@googlemail.com> wrote:
> 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?

Since you like Enlive, you might like my web framework, ported from
CFML: FW/1 for Clojure - https://github.com/seancorfield/fw1-clj

It provides a convention-based approach to routes (with the ability to
override them), uses Enlive for (pure HTML) views, with automatically
cascading layouts (wrapping the views) and a "standard" MVC
organization of code.

Creating a basic FW/1 skeleton should be as simple as:

lein new fw1 myapp
cd myapp
lein run

(or PORT=xxxx lein run if you need to select a port other than 8080)

Documentation is a work-in-progress - I plan to port across all the
relevant parts from the original CFML version -
https://github.com/seancorfield/fw1

Feedback welcome!
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

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