Re: State of Clojure web development

2010-06-29 Thread Matt
Here's the Conjure scaffold controller in 4 lines: (ns controllers.message-controller (:use [conjure.controller.base]) (:require [controllers.template-controller :as template- controller])) (copy-actions :template) And, you can still add any actions you want, or override the action which are

Re: State of Clojure web development

2010-06-29 Thread Matt
> 1. Have you written, or are you writing, a web application that uses > Clojure? What does it do? We are currently writing a web interface for the project I'm on. The project, IMSMA, keeps track of landmines in war-torn countries so humanitarian efforts can clean them up. The main program is a ja

Re: State of Clojure web development

2010-06-29 Thread Matt
> If I had a full-stack, well-documented clojure framework, I'd jump to that. Have you looked at Conjure? http://github.com/macourtney/Conjure Docs: http://wiki.github.com/macourtney/Conjure/ It's not as fully featured as Django, but it's a good start and it's in Clojure. Conjure doesn't have an

Re: State of Clojure web development

2010-06-28 Thread Oleg
1) Sure. I'm preparing financial and operational data analyzer now for corporate usage. Some kind of BI/EPM application for specific needs. 2) Usually bleeding-edge or latest releases of following libraries: - Compojure (thanks James for your great work) - Hiccup - Ring - Oyako

Re: State of Clojure web development

2010-06-27 Thread Timothy Washington
I am using clojure to rewrite an online bookkeeping application (currently only a test site). I have wanted to learn Lisp and functional programming for a while now. And the emergence of Clojure, and the need to refactor my application, gave me the opportunity. While I'm still new to the language

Re: State of Clojure web development

2010-06-27 Thread Straszheim, Jeff
At Akamai we are using Clojure combined with Compojure for a project that involves the live transcoding of mobile content. I can't talk about the details, nor mention any specific libraries or features we are using, except to say that we chose Clojure for the normal reasons: its meta-programm

Re: State of Clojure web development

2010-06-26 Thread James Reeves
On 26 June 2010 03:36, MarkSwanson wrote: > I still like timestamps even with per-user logging. Sorry, I guess wasn't entirely clear. The maps would still contain timestamps. My point is that we should get away from the idea thinking of logs as unstructured text strings. For example, a typical

Re: State of Clojure web development

2010-06-25 Thread MarkSwanson
> @Mark S > Logging is something I've been very interested in at various points in > the past, usually when an application goes wrong in production and I > have to figure out what went wrong! > > I think we need to discard the notion that logs should be timestamped I still like timestamps even wit

Re: State of Clojure web development

2010-06-25 Thread Rick Moynihan
Hi James, Great idea for a survey! I'm using Clojure to bootstrap a startup, broadly in the Healthcare domain. The system we're building comprises a number of components all implemented in Clojure, one of which is a centralised web server. The reason we chose Clojure was because it runs on the

Re: State of Clojure web development

2010-06-25 Thread James Reeves
I'd first like to thank everyone who has replied so far. Your feedback has been invaluable. I'm going to try and address some of the issues people have raised. If I've missed any big ones, feel free to shout louder :) @Joost Could you send me an email with the i18n patches you had to make to Comp

Re: State of Clojure web development

2010-06-25 Thread Mark Engelberg
> On 2010-06-24, at 12:27, Daniel Gagnon wrote: > > I don't use Clojure for web development and I thought sharing why could be > useful too. > > For web development, my favourite tool is Django. It comes as a fullstack > framework which means I have everything I need out of the box. Templates, > c

Re: State of Clojure web development

2010-06-25 Thread Luc Préfontaine
Were not using Clojure yet for our Web based GUIs. The main reason being that we jumped on Rails last year. Most of our needs are to display/edit database data and the ActiveScaffold plugin allows us to write a controller in 20 lines. We do not need to write forms, it's all done through partial r

Re: State of Clojure web development

2010-06-25 Thread martin_clausen
Regarding deployment leiningen-war might prove useful http://github.com/alienscience/leiningen-war. On Jun 24, 7:17 pm, Brenton wrote: > 1. Have you written, or are you writing, a web application that uses > Clojure? What does it do? > > I am an independent contractor and do a lot of corporate in

Re: State of Clojure web development

2010-06-25 Thread pavelludiq
> 1. Have you written, or are you writing, a web application that uses > Clojure? What does it do? I've written a few small web apps. > 2. Which libraries or frameworks are you using? Which versions? ring and compojure > 3. What made you choose Clojure to develop web applications in? What > are

Re: State of Clojure web development

2010-06-25 Thread Sean Allen
On Wed, 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.l

Re: State of Clojure web development

2010-06-24 Thread Howard Lewis Ship
On Wed, Jun 23, 2010 at 2: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.l

Re: State of Clojure web development

2010-06-24 Thread Mike Meyer
> 1. Have you written, or are you writing, a web application that uses > Clojure? What does it do? roman candle is a web app designed to let me control X10 plc components from any web-capable device, using the X10 firecracker controller. It's still in very early development, and hasn't been given

Re: State of Clojure web development

2010-06-24 Thread Meikel Brandmeyer
Hi, Am 24.06.2010 um 22:07 schrieb Tim Robinson: > Along this vein, I find the documentation is great, but a little hard > to navigate around. http://richhickey.github.com/clojure http://richhickey.github.com/clojure-contrib Note the branch links on the top left. Sincerely Meikel -- You rece

Re: State of Clojure web development

2010-06-24 Thread Meikel Brandmeyer
Hi, Am 24.06.2010 um 21:12 schrieb Tim Robinson: > I would like some chaining to less the brackets. > i.e. > >> (def stuff {:key1 {:item1 {:sub1 val1}}) >> (((stuff :key1) :item1) sub1) <--- YUCK > val1 > > Instead do this: >> stuff:key1:item1:sub1 > val1 (-> stuff :key1 :item1 sub1) > A

Re: State of Clojure web development

2010-06-24 Thread j-g-faustus
> 1. Have you written, or are you writing, a web application that uses > Clojure? What does it do? Recently started writing a webapp to display financial data, along the lines of Google finance. Although somewhat less ambitious :). > 2. Which libraries or frameworks are you using? Which versions?

Re: State of Clojure web development

2010-06-24 Thread Tim Robinson
Thanks for both the replies. (get-in m [:key1 :item1 :sub1]) <--- YUM ;) (-> stuff :key1 :item1 sub1) are better than what I've been doing! Re: (next...) I still like mine better, fortunately I can create my own functions, but I was just highlighted that some of the function names are not

Re: State of Clojure web development

2010-06-24 Thread David Nolen
On Thu, Jun 24, 2010 at 12:27 PM, Daniel Gagnon wrote: > I don't use Clojure for web development and I thought sharing why could be > useful too. > > For web development, my favourite tool is > Django. > It comes as a fullstack framework which means I have everythin

Re: State of Clojure web development

2010-06-24 Thread David Nolen
On Thu, Jun 24, 2010 at 3:12 PM, Tim Robinson wrote: > > > (def stuff {:key1 {:item1 {:sub1 val1}}) > > (((stuff :key1) :item1) sub1) <--- YUCK > val1 > (get-in m [:key1 :item1 :sub1]) <--- YUM ;) > > (rest stuff) > (2 3 4 5) > > (next stuff) > (2 3 4 5) < this can be done with res

Re: State of Clojure web development

2010-06-24 Thread Tim Robinson
1. Have you written, or are you writing, a web application that uses Clojure? What does it do? I am new to Clojure, I've ported over most of my code for an ad-hoc application creator / with reporting and GIS integration. I'm pretty much finished. I benchmarking speed. 2. Which libraries or fram

Re: State of Clojure web development

2010-06-24 Thread Martin Jul
We have written a currency trading app in Clojure in my company. It has an embedded web server with a compojure app that provides an administration interface. 2. Which libraries or frameworks are you using? Which versions? Some relevant dependencies are: [compojure "0.4.0-SNAPS

Re: State of Clojure web development

2010-06-24 Thread Chas Emerick
Good point. I have a todo waiting for me to figure out how to deliver some services that HTTP might not be cut out for. It looks like v3.0 servlets have a variety of enhancements in this area, so hopefully compojure/ring can stand on those shoulders. I've no idea about the container supp

Re: State of Clojure web development

2010-06-24 Thread Brenton
1. Have you written, or are you writing, a web application that uses Clojure? What does it do? I am an independent contractor and do a lot of corporate intranet web applications. All of my clients support Java. Each year I write a few new applications and spend a lot of time maintaining old Java a

Re: State of Clojure web development

2010-06-24 Thread MarkSwanson
> > 1. Have you written, or are you writing, a web application that uses > Clojure? What does it do? I've created a commercial app that has the server side written start to finish in Clojure. It leverages the existing calendaring and scheduling functionality of ScheduleWorld - which was written i

Re: State of Clojure web development

2010-06-24 Thread Daniel Gagnon
I don't use Clojure for web development and I thought sharing why could be useful too. For web development, my favourite tool is Django. It comes as a fullstack framework which means I have everything I need out of the box. Templates, caching, ORM, a kick-ass autogen

Re: State of Clojure web development

2010-06-24 Thread Wilson MacGyver
On Wed, Jun 23, 2010 at 5:23 PM, James Reeves wrote: > 1. Have you written, or are you writing, a web application that uses > Clojure? What does it do? we are currently developing a game server backend using clojure. > 2. Which libraries or frameworks are you using? Which versions? > we are usi

Re: State of Clojure web development

2010-06-24 Thread Jimmy
Hi James, For me the big missing item is Comet/Websockets support. More and more of the web development I do requires near real time communication and to have that feature integrated in the framework (like lift) would be great. thanks Jimmy -- You received this message because you are subscribed

Re: State of Clojure web development

2010-06-24 Thread Adrian Cuthbertson
> 1. Have you written, or are you writing, a web application that uses > Clojure? What does it do? I am and have been extending an existing production java web application environment with all new server work now being done in clojure. It is a complex jvm server running tomcat and other threaded p

Re: State of Clojure web development

2010-06-23 Thread Meikel Brandmeyer
Hi, On Jun 23, 11:23 pm, James Reeves wrote: > 1. Have you written, or are you writing, a web application that uses > Clojure? What does it do? I'm guerilla coding a small web app to do some very non-standard statistical analysis of customer returns (ABS/ESC systems for cars). The whole thing i

Re: State of Clojure web development

2010-06-23 Thread Hugo Duncan
On Wed, 23 Jun 2010 17:23:16 -0400, James Reeves wrote: 1. Have you written, or are you writing, a web application that uses Clojure? What does it do? I'm writing cloudhoist.com, a cross cloud management console and api, that lets you start and stop nodes on Amazon, Rackspace, etc, config

Re: State of Clojure web development

2010-06-23 Thread Brian Carper
On Jun 23, 2:23 pm, James Reeves wrote: > 1. Have you written, or are you writing, a web application that uses > Clojure? What does it do? My blog and a couple of other blog-like hobby sites. I also wrote a small standalone data-collection app at work. It collects survey data for psych research

Re: State of Clojure web development

2010-06-23 Thread Chas Emerick
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

Re: State of Clojure web development

2010-06-23 Thread Joost
On Jun 24, 1:55 am, Joost wrote: > compojure in whatever was the last release version - with a few lines > of patches. This may be interesting to anyone in the US or Japan: All the patches I made were to fix UTF-8 handling. I live in Europe. We use characters like Ø and ß and you'd better get us

Re: State of Clojure web development

2010-06-23 Thread Joost
On Jun 23, 11:23 pm, James Reeves wrote: > Hello there! Hi James! :) > 1. Have you written, or are you writing, a web application that uses > Clojure? What does it do? I've written one very simple "internal organsiation" site in clojure that's finished except for a few little bugs. Should be

Re: State of Clojure web development

2010-06-23 Thread Sean Corfield
On Wed, Jun 23, 2010 at 2:23 PM, James Reeves wrote: > 1. Have you written, or are you writing, a web application that uses > Clojure? What does it do? I don't know that I'll be writing entire web applications in Clojure any time soon but I expect to be using Clojure in some form from (essentiall