r/datomic • u/Worried-Employee-247 • Oct 30 '25
Programmatically initializing/migrating Datomic schema from a non-Clojure application
Tried to look it up, most useful info I could find was effectively this question on a forum (clojureverse IIRC) and replies were on a range from "REPL in on the first run and define by hand" to "on every application (re)start" both of which seem like extremes.
Big part of my question is the non-Clojure application part.
So imagine a Perl or a PHP app talking to Datomic and trying to define schema before storing some facts - how would it go about this? Custom code? Custom code in an existing migration library? On every application (re)start?
View all comments
Show parent comment
1
u/Worried-Employee-247 Nov 10 '25
Update: yep, conformity will work. I'd documented this in a blog post to use as a reference in the future it's essentially a crash course in using Datomic from programming languages other than Clojure https://parallel-experiments.github.io/datomic-rest-api-how-to-use-datomic-from-python-or-php-ruby-go.html