In this chapter, you learned how to route incoming requests, extract their parameters, and pass them to Clojure functions using Compojure. You also learned how to create, render, and serve an HTML template using Selmer. We created a couple of fancy buttons and a pretty bare bones HTML form. However, currently that form doesn't do a whole lot. In the next chapter, you'll learn how to accept and validate form input. Wow! Talk about a chapter! Am I right?!
Clojure Web Development Essentials
By :
Clojure Web Development Essentials
By:
Overview of this book
Table of Contents (19 chapters)
Clojure Web Development Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Getting Started with Luminus
Ring and the Ring Server
Logging
URL Routing and Template Rendering
Handling Form Input
Testing in Clojure
Getting Started with the Database
Reading Data from the Database
Database Transactions
Sessions and Cookies
Environment Configuration and Deployment
Using Korma – a Clojure DSL for SQL
Index
Customer Reviews