On Jan 21, 9:39 pm, Frank <ffai...@gmail.com> 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 "/"
    (html [:h1 "Hello World]))

( http://github.com/weavejester/compojure )

Weld, which I believe looks like this (Mark, please correct me if I've
misrepresented Weld):

(def config
  {'weld.routing/*router*
(compiled-router [['index-page :index :get "/"]])})

(defn index-page [req]
  (respond (html [:h1 "Hello World"])))

( http://github.com/mmcgrana/weld )

And Webjure, which looks like this:

(defh "/" [] {:output :html}
  `(:h1 "Hello World"))

( http://code.google.com/p/webjure )

Out of the three frameworks, it's possible that Compojure is the most
popular: at least, I've seen more tutorials and sites written with it.
But since I'm the author of Compojure, I can't exactly claim I'm
unbiased :)

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