Re: Clojure Web Libraries

2009-11-17 Thread Stuart Sierra
On Nov 16, 8:03 pm, ngocdaothanh wrote: > Could someone provide an example about using Clojure with Restlet? > > I found:http://github.com/stuartsierra/altlaw-clojure-restlet > but don't understand how the code works as a web application. It doesn't. That's just a few helper functions I wrote to

Re: Clojure Web Libraries

2009-11-16 Thread ngocdaothanh
Could someone provide an example about using Clojure with Restlet? I found: http://github.com/stuartsierra/altlaw-clojure-restlet but don't understand how the code works as a web application. Thanks. On Nov 15, 11:06 pm, Stefan Tilkov wrote: > On Nov 15, 2009, at 4:58 AM, ngocdaothanh wrote: >

Re: Clojure Web Libraries

2009-11-15 Thread Stefan Tilkov
On Nov 15, 2009, at 4:58 AM, ngocdaothanh wrote: > Hi Stuart, > > Can you elaborate on Restlet? After some short investigation I think > it uses annotation but Clojure does not support it, so Clojure is not > "Restlet-ready". > Only the JSR-311 (JAX-RS) API uses annotations. Restlet has a lower

Re: Clojure Web Libraries

2009-11-14 Thread David Brown
>> On Jan 21, 4:39 pm, Frank wrote: >> >> > I am interested in trying to use Clojure to develop web-based >> > applications.  Can someone point me to any Clojure libraries that have >> > been written that I can use.  Thanks. I spent a couple of days this week using Compojure both in anger, and fo

Re: Clojure Web Libraries

2009-11-14 Thread Stuart Sierra
The latest restlet versions use annotations. I stil use 1.1, which uses ordinary classes. I'm bothered by restlet's move to annotations, but hoefully the old API is still available. sent from my phone On Nov 14, 2009 10:58 PM, "ngocdaothanh" wrote: Hi Stuart, Can you elaborate on Restlet? Af

Re: Clojure Web Libraries

2009-11-14 Thread ngocdaothanh
Hi Stuart, Can you elaborate on Restlet? After some short investigation I think it uses annotation but Clojure does not support it, so Clojure is not "Restlet-ready". Thanks On Jan 23, 1:44 am, Stuart Sierra wrote: > Hi Frank, > I'd also recommend looking atRestlet and

Re: Clojure Web Libraries

2009-01-23 Thread Frank
Sorry Mark, my mistake. Thanks for the correction James. On Jan 22, 6:12 pm, James Reeves wrote: > On Jan 22, 10:15 pm, Frank wrote: > > > I found two libraries written by Christophe Grand: > > Only Enlive was written my Christophe; Ring was written by Mark. From > what I gather Ring is an abs

Re: Clojure Web Libraries

2009-01-22 Thread James Reeves
On Jan 22, 10:15 pm, Frank wrote: > I found two libraries written by Christophe Grand: Only Enlive was written my Christophe; Ring was written by Mark. From what I gather Ring is an abstraction layer like Rack, and isn't designed to be used directly to build web applications. Rather, it's a comm

Re: Clojure Web Libraries

2009-01-22 Thread Frank
Thanks to everyone for their responses. I will be looking into all these libraries. I wanted to add two other references to this thread that I will also be researching. I found two libraries written by Christophe Grand: Ring - http://github.com/mmcgrana/ring/tree/master Enlive - http://github.

Re: Clojure Web Libraries

2009-01-22 Thread Stuart Sierra
Hi Frank, I'd also recommend looking at Restlet and the Java Servlets API. -Stuart Sierra On Jan 21, 4:39 pm, Frank wrote: > Hi, > > I am interested in trying to use Clojure to develop web-based > applications.  Can someone point me to any Clojure libraries that have >

Re: Clojure Web Libraries

2009-01-22 Thread Mark McGranaghan
I'd suggest using Compojure for your first project - its fairly widely used, is easy to pick up, and has a growing set of docs. I'm not sure that Webjure is maintained anymore (i.e. no commits to its repo in a few months). Weld is still a work in progress - I'm trying to stabilize it now but it

Re: Clojure Web Libraries

2009-01-22 Thread James Reeves
On Jan 21, 9:39 pm, Frank wrote: > I am interested in trying to use Clojure to develop web-based > applications.  Can someone point me to any Clojure libraries that have > been written that I can use.  Thanks. There's Compojure, which looks like this: (defservlet demo-servlet (GET "/" (ht

Re: Clojure Web Libraries

2009-01-21 Thread Stephen C. Gilardi
On Jan 21, 2009, at 4:39 PM, Frank wrote: I am interested in trying to use Clojure to develop web-based applications. Can someone point me to any Clojure libraries that have been written that I can use. Thanks. Compojure and webjure are two names worthy of Google searches along those line