On May 15, 5:23 pm, Base <basselh...@gmail.com> wrote:
> So I would love to hear what others have done in the past to integrate
> clojure into a web app.  Any info would be most appreciated.
>

I use compojure 0.4 with hiccup to generate the HTML. It feels like a
very "old school" way of developing a web application because it isn't
a do everything web framework. However, things have gone smoothly and
I've had no problems with this approach. Despite being a clojure
newbie I have found my productivity is very good with slowdowns caused
by having to write things such as user management and form validation
myself.

I haven't integrated any javascript yet and the application is
responsive enough that I may only add minimal javascript as needed
after the first release. My intention is to use jquery and scriptjure:

http://arohner.blogspot.com/2010/04/writing-jquery-code-with-scriptjure.html

I'm using an embedded H2 database engine which is low latency (5 -> 10
ms to get query results back) and has made a big difference to how the
application feels.

Overall I would recommend this setup as (very) enjoyable and flexible
but if you're on a tight deadline then a full web framework may be
more appropriate.

Saul

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