This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-01-30
Channels
- # announcements (5)
- # babashka (2)
- # beginners (85)
- # cider (59)
- # cljs-dev (2)
- # clojure (10)
- # clojure-europe (61)
- # clojure-gamedev (20)
- # clojure-nl (2)
- # clojure-norway (9)
- # clojure-uk (5)
- # cursive (24)
- # data-science (4)
- # datascript (8)
- # emacs (1)
- # fulcro (8)
- # graalvm (30)
- # gratitude (9)
- # hyperfiddle (71)
- # introduce-yourself (1)
- # jackdaw (1)
- # leiningen (8)
- # london-clojurians (1)
- # missionary (3)
- # other-languages (10)
- # pathom (8)
- # pedestal (18)
- # polylith (4)
- # proletarian (5)
- # reitit (7)
- # releases (4)
- # ring (8)
- # sci (10)
- # shadow-cljs (27)
- # squint (3)
- # tools-deps (2)
- # xtdb (17)
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?
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 @U050UBKAA'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.
Mark Bastian has some high quality content: https://www.youtube.com/watch?v=eink6oICdOQ https://www.youtube.com/watch?v=tV4pHW_WOrY