James,
First, thank you for all of your work in this area. It is greatly
appreciated. My answers follow:
1. DocuHarvest ( https://docuharvest.com ), which I've already talked
about here. Broadly speaking, it extracts data from documents, and
it's just getting started.
2. Relevant to web development, DocuHarvest uses compojure 0.3.x
(modified to suit clojure 1.2 HEAD), HEAD of enlive and clutch, spring-
security v3, jetty for local development, Tomcat for staging and
production environments, and enclojure's REPL server library in all
environments.
3. Compojure gets me very close to the metal, or as much as one can be
w.r.t. HTTP. Middleware is the pleasant superset of all other flavors
of web request handling; helluva lot of power there with very little
cost. Mix that with a solid REPL (via enclojure for me) for zero-
turnaround development, and I'm very, very happy.
4. I want to be able to define HTTP APIs more concisely. compojure-
rest (http://github.com/ordnungswidrig/compojure-rest) and clj-conneg (http://github.com/rnewman/clj-conneg
) are pointing the way towards what the response to that looks like, I
think.
The most common issues I see are related to packaging and deployment.
I think this could probably be made easier for those that aren't
familiar with the java way of doing webapp deployment. Getting people
familiar with the (honestly simple) mostly-canned tooling solutions
that are out there would help, but short of that, perhaps a pre-
compiled servlet (configured via a web.xml file that defines the top-
level route that all requests are dropped into, etc) would help.
Building the war file would still be necessary, but that's when-in-
Rome territory. IMO, every time someone deploys a compojure app via a
hacked-up shell script and embedded jetty, a kitten is killed. ;-)
5. I better quit while I'm ahead for today!
And no, thank you, and everyone else that's made web development with
Clojure as pleasant as it is! :-D
- Chas
On Jun 23, 2010, at 5:23 PM, James Reeves wrote:
Hello there!
Chas Emerick's recent "State of Clojure" survey [http://bit.ly/dtdAwb]
indicated that a significant proportion of Clojure users are beginning
to use Clojure for web development. A recent Hacker News posting
[http://bit.ly/91Bu5J] seems to corroborate these results, with
several Clojure-based web applications already out in the wild.
As one of the main developers of Ring and Compojure, I'd be very
interested to hear more about how people are using Clojure to build
web apps. To this end, I have a few questions I'd like to quiz Clojure
web developers about:
1. Have you written, or are you writing, a web application that uses
Clojure? What does it do?
2. Which libraries or frameworks are you using? Which versions?
3. What made you choose Clojure to develop web applications in? What
are the strengths of Clojure web development?
4. What do you think are the current weaknesses of web development in
Clojure? What could be improved?
5. Anything else you want to comment on?
Please reply to this thread with your answers, and thank you very much
in advance for your time. I really appreciate any feedback you can
provide.
- James
--
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