If Saul's approach is really what you want to do, then you may want to
look at Conjure, which has everything Saul mentions in one web
framework.

Check it out at: http://github.com/macourtney/Conjure

A tutorial can be found at: 
http://wiki.github.com/macourtney/Conjure/hello-world-tutorial-2

To create your project download the jar and type: "java -jar conjure
<your app name>". A directory will be created, named after your app.
Some basic views will be created for your and an H2 embedded database
ready to use. Just cd into the app directory and type "./run.bat
script/server.clj" to start a local server on port 8080.

-Matt


On May 16, 10:13 am, Base <basselh...@gmail.com> wrote:
> Thanks much Saul.  This is exactly what I am looking for!  Let the
> webapps begin!
>
> On May 16, 7:15 am, Saul Hazledine <shaz...@gmail.com> wrote:
>
>
>
> > 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-scriptju...
>
> > 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 
> > tocloj...@googlegroups.com
> > Note that posts from new members are moderated - please be patient with 
> > your first post.
> > To unsubscribe from this group, send email 
> > toclojure+unsubscr...@googlegroups.com
> > For more options, visit this group 
> > athttp://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 
> athttp://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

Reply via email to