Our pointy-haired marketing wizard (me) has decided that our hipstr application requires the ability to add a new artist and album (with a release date). The form should be validated, ensuring that all of the data is appropriate, before sending it off to the database. If, for whatever reason, the inserts into the database fail, then nothing should be changed. Also, if there are any validation errors with the form, we want to show an appropriate message to the user. Finally, I want to be able to use this form anywhere in the site with minimal modifications and maximum code reuse. (Say whaaaaaaat?!)
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