You can find a little demo I put together for lauofdk here:
http://www.ipowerhouse.com/lau.zip
It is exactly what ppierre mentioned, clojure servlets returning
json with a jquery/pure client "hello world".
the dl includes jetty, and can be fired up with
./run test.clj
test.clj configures jetty and a single test servlet.
I don't do any server side templating at all these days.
bd
On Thu, 4 Dec 2008 07:53:43 -0800 (PST)
ppierre <[EMAIL PROTECTED]> wrote:
>
> A nice solution is PURE : http://beebole.com/pure/ JavaScript
> templating engine converting Json to HTML.
>
> With a Clojure version you have identical code for HTML and AJAX :
>
> Server side :
> Clojure/PURE + HTML -> HTML
>
> Client side :
> Clojure/JSON -> JavaScript/PURE + AJAX
>
> pierre
> >
--
None are more hopelessly enslaved than those who falsely believe they
are free — Goethe
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---