In this chapter, we continued using Migratus to create additional tables in our database, as well as seed those tables with example data. We also used YeSQL to pull data from the database. We then created a couple of Selmer templates (assuming that you finished your homework) to display the albums and artists. In the next chapter, we will create forms for adding artists and albums to the database, and also learn how to do it safely inside a transaction.
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