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

What You’ve Learned

In this chapter we saw several approaches to structuring the application. We discussed how to plug in a different templating engine. We discussed how we’re able to use Clojure on both the server and the client. Finally, we covered how to use the Korma DSL to access the database using Clojure syntax. As you probably noticed, we can have as much or as little Clojure as we want in our application.

At one extreme we could use Hiccup, ClojureScript, and Korma. This type of application would be written almost entirely in Clojure. The primary benefit of this approach is that we can do everything uniformly in one language. We don’t need to remember syntax quirks of SQL and JavaScript, nor do we need to write any HTML by hand. The ...

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