DataScript – Datomic in ClojureScript
github.com
github.com
(Edit: Read in a separate blog post that the author of DatomicScript is thinking about this already)
At the end of the day though, I still think someone (smarter than me) needs to figure out the full end-to-end solution for datomic+clojurescript, with both client and server elements.
The core question: Does it make sense to map datomic to a REST API on the server, then consume the REST on the client? Or, does it make more sense to build something more clojure-like for the client-server interface, and remove REST from the equation entirely?
If so, it could lead to some features like latency compensation and stubs similar to Meteor's MongoDB and MiniMongo. That would be cool.
Datalog is apparently a subset of Prolog that's used by Datomic (a commercial database) as its query language.
http://ocw.mit.edu/courses/electrical-engineering-and-comput...
I wouldn't use Datalog though, I got turned off on it after using Datomic at work.