I’d like to spin a colleague of mine up on datascript. In particular the bit about how datoms fit together entities. What is the best resource I can send him?
Mark Bastian has some high quality content: https://www.youtube.com/watch?v=eink6oICdOQ https://www.youtube.com/watch?v=tV4pHW_WOrY
Thanks for all the content ❤️
If you just mean datalog syntax then perhaps https://www.learndatalogtoday.org/ Or did you mean something more specific about datascript's implementation?
The thing I find most useful and approachable is actually more the transaction syntax and entity api rather than the query syntax. I think I'm looking more for a guide that explains transactions and pull first.
Hmm, I don't know anything off the top of my head. Datascript's .md on this is a little short & much of the library assumes Datomic familiarity/explanation
https://github.com/tonsky/datascript/blob/master/docs/tuples.md
https://docs.datomic.com/pro/transactions/transactions.html has some good details but a few irrelevant sections
This https://www.youtube.com/watch?v=oo-7mN9WXTw was helpful for me.
I often think of @tonsky's section "No Queries" in his blog post about datascript 2. https://tonsky.me/blog/datascript-2/ Every tutorial seems to start with getting to datalog queries as fast as possible. But a datascript with no queries means you can get into this business without having groked core.logic.