Chapter 2Clojure Web Stack

In the last chapter we jumped right into building a simple application. This let us get comfortable with the development environment and provided a glimpse at what to expect in terms of project structure. At this point we’ll step back and take the time to understand how all the components work in detail.

Because the Clojure community values simplicity and flexibility, things tend not to be monolithic or prescriptive. Practically all the components of the web stack have a number of alternatives. You can pick and choose the ones that fit your style and the type of application you’re developing. In this book we’ll focus on the popular Ring/Compojure stack that’s well established and has been used to build many real-world ...

Get Web Development with Clojure now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.