I finally got time to find the bug in my web application framework.
Here is the code to the framework:

http://intensivesystems.net/tutorials/code/web_session.clj

And here is a very simple sample app:

http://intensivesystems.net/tutorials/code/web_app.clj

The top level app is defined like this:

(def web-app (web-while (constantly true)
                                (web-seq get-name
                                    get-age
                                    get-gender
                                    (web-cond
                                         male? male-options
                                         :else female-options)
                                    show-summary)))

Documentation is here:

http://intensivesystems.net/tutorials/web_sessions.html

This is beta code, so I'd be interested in any feedback. I'm starting
work on the tutorial that explains how the code works and also the
continuation monad. Trying to figure the code out just by reading the
source will be extremely difficult unless you already have a very good
understanding of the continuation monad, and even then the things I
had to do to make the browser back button work really clog up the
code.

Jim

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

Reply via email to