Datalog all the way down
summary
Builds a Clojure/Clojurescript stack that actually syncs Datomic to in‑browser DataScript, using Datomic and DataScript, posh reactions, and a utility library dat-sync (metaSaurus/dat-sync). Streams Datomic transaction reports to clients, transacts them into local databases, auto-updates DataScript schema, and generates dynamic UI from Datomic schema (pull queries drive editable forms). Prototype works but hits performance pain with many fine-grained queries; posh pattern-matching and reactive filters reduce reruns and improve scalability.
AI-written summary · about
chapters (17)
- 0:00Intro
- 1:01One of my first web applications
- 3:25Architecture
- 7:40Connecting Posh and Reagent
- 13:38For my client's case fortunately
- 15:23Benefits
- 22:16For references, we need to say what the shape of the reference is
- 23:05Putting together view functions
- 24:19Generic view functions
- 26:35Solutions
- 29:19Domain-specific query system
- 29:55Security
- 31:46Client- server Writing to the central DB
- 33:19Scoping subscriptions
- 35:25Other problems to solve
- 38:03Convergence of ideas
- 38:43Thank you!
related talks
52mFull stack FP in Datomic, Clojure, and ClojureScript
42mYet & Datomic Immutable Facts Mutated Our Stack
40mThe power of Datomic database
42mA Practical Functional Relational Architecture
32mClojure is a Foreign Country: Combining Datomic with Scala
46mThe Datomic Architecture and Data Model
32mReactive Datalog for Datomic
51mDatomic
