O'Reilly logo

Web Development with Clojure by Dmitri Sotnikov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Beyond Compojure and Ring

Lots of libraries are available for doing tasks such as session management, input validation, and authentication. As always, you can pick and choose the components that are right for you.

The library we’ll focus on is lib-noir.[34] It’s a comprehensive suite of utilities for handling the most common operations in a web application. As we did with Hiccup, we’ll focus our attention on the most commonly used features and then segue into an overview of the API.

First, we’ll need to add lib-noir to our project.clj to use it. We’ll do this by adding [lib-noir "0.8.2"] to our dependencies vector.

If you have your project running as you follow along, which you should be doing, then you’ll need to restart it for the dependency ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required