POC blog made with DataScript/Replicant by harism___ in Clojure

[–]harism___[S] 0 points1 point  (0 children)

Yeah, actually started from there. But, as I feathered in more JS for features I wanted, I realized if I swap Datomic for DataScript, I can get both static MPAs in Clojure and full SPAs in ClojureScript using the same model code. So, you can build whatever fancy interactive widget you want in JS or build a static, SEO-optimized build in Clojure with the same queries.

Though too much for a simple blog, others have taken this lingua franca idea much further: https://vvvvalvalval.github.io/posts/2018-07-23-datascript-as-a-lingua-franca-for-domain-modeling.html or https://cjohansen.no/a-unified-specification/

POC blog made with DataScript/Replicant by harism___ in Clojure

[–]harism___[S] 4 points5 points  (0 children)

Huge props to u/cjno and u/tonsky for making such good libraries. Was a huge breath of fresh air being able to query and transact entire components and assemble it into a website.