Riffing with Ring

Hello everybody,

I’ve published a screencast where I operate under self-imposed constraints. I wanted to develop a web application in Clojure with only one dependency, one source file and contained in one function (for the most part). The motivation for this exercise is educational. Beginners can expect to get a feel for the development experience in Clojure, how the REPL stands in the center of the workflow, how evaluation of individual forms provides a live environment. Experienced users may learn about the intricacies of Ring middleware, how it actually comes down to function composition, but without the mathematical guarantees.

Part 1/3: From scratch to getting a web server running.
Part 2/3: Web application with routing and middleware.
Part 3/3: Extracting middleware.

The working session is rendered raw, with minimal editing in post production. You can see me thinking out loud and trying out stuff. Sometimes I mumble in a foreign accent. It is similar in spirit to what musicians call a jam session. If you find this useful, please leave a comment. I am interested to hear what benefit you gained, if at all. Thank you.

5 Likes