If you were writing a tiny app for yourself that only you were using, it's arguable that database transactions are a needless overhead. However, in an environment such as the Web, where multiple users are likely accessing the same data at the same time while data manipulations are occurring, database transactions are a good thing. You want your data to be consistent and valid. For without database transactions, a system under heavy use would lose all data integrity before you finished reading this sentence. I may or may not know this first hand.
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