Chapter 6The Datomic Database

Datomic is a new database that offers developers new ways to think about building traditional database-backed applications, and exciting features that make it possible to build entirely new types of applications. It has a modern, cloud-focused design that is easy and flexible to both develop on and deploy. To top it off, it's built by the same people that brought you Clojure.

Just as working with Clojure changes the way you think about programming, Datomic will change the way you think about databases. It is definitely not just another variation on SQL or another narrowly focused NoSQL system. Datomic embodies new ideas about how you think about data and what it is like to work with a general-purpose transactional database.

In this chapter, you'll explore how Datomic works, starting from the fundamentals like its data model, and working up to its high-level APIs. Using examples, you'll look at how to build an application backed up by Datomic, ways to think about modeling domain data in Datomic, and how to tap into the powerful Clojure API.

Get Professional Clojure now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.