On Sat, Jul 24, 2010 at 3:30 AM, Mark McGranaghan <mmcgr...@gmail.com>wrote:

> Hi All,
>
> I recently posted to my blog on the process of developing and
> deploying a simple Clojure web application:
>
>
> http://mmcgrana.github.com/2010/07/develop-deploy-clojure-web-applications.html
>
> The purpose of this post is twofold. The first is to provide some
> documentation in the form of a complete, deployable Clojure web app
> and associated commentary and instructions. To that end I hope you
> find the post useful and that you feel free to ask any questions you
> may have.
>
> The second purpose is to elicit feedback from the community on how
> they would or have approached the problem of developing and deploying
> Clojure web applications.
>

Mark, thanks for writing this. I can speak to goal one, that the full
writeup is indeed very useful. I'm stumbling my way through local
development of a Compojure/Ring web service, picking off tips from the
source, API docs, and Brian Carper's informative blog source [1] as I go.
Seeing the contents of this tutorial in one place, I learned a lot about
rounding out an entire app, as you say, and making it deployable.

Even though I don't need HTML for my service and I'll be deploying to a
Windows server (relax, let me worry about that feature/bug!), the way you
broke it down makes it trivial to tweak for any environment. The command
line jetty startup approach is a nice complement to Chas Emerick's
maven-style deployment tips [2] for those who don't want or have to plug in
to existing Java server infrastructure (another top to bottom tutorial based
on WAR files would probably be appreciated by folks who are in that camp).

I especially appreciate the middleware demonstrations, as the ability to
whip up a little function to augment or change the behavior of the entire
app is a strength of Ring-based development. I half-assumed
wrap-bounce-favicon was built in, but then you busted out in a few lines
right there and it didn't really matter if it existed or not.

[1] http://github.com/briancarper/cow-blog/
[2] http://muckandbrass.com/web/x/RQBP

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