Just finished Mystery Cows, an app for learning ClojureScript

After last week’s newsletter, I decided to just pump out the rest of the code for Mystery Cows (an example web app for learning ClojureScript) rather than dribbling it out a bit at a time. So here it is: https://github.com/jacobobryant/mystery-cows. The Readme includes steps for developing and deploying the project on your own, no knowledge of Clojure or Firebase necessary. I hope it’s useful.

The really exciting thing about this project is that I figured out a way to declaratively specify which Firestore subscriptions are needed by the app at any given state. This makes up for a shortcoming in Firestore: although the queries lack joins (and are thus much weaker than SQL or Datalog), this lets you get around that by doing joins declaratively on the frontend. I explain this more in the following practice-run of a presentation I gave last night at the Clojure Provo meetup:

By the way, I’ve posted this project on Hacker News, so please consider giving it an upvote if it’s interesting to you.

Published 25 Mar 2020

I write an occasional newsletter
about my work and ideas.

RSS feed · Archive

𝔗𝔥𝔦𝔰 𝔰𝔦𝔱𝔢 𝔦𝔰 𝔭𝔯𝔬𝔱𝔢𝔠𝔱𝔢𝔡 𝔟𝔶 𝔯𝔢𝔠𝔞𝔭𝔱𝔠𝔥𝔞 𝔞𝔫𝔡 𝔱𝔥𝔢 𝔊𝔬𝔬𝔤𝔩𝔢 𝔓𝔯𝔦𝔳𝔞𝔠𝔶 𝔓𝔬𝔩𝔦𝔠𝔶 𝔞𝔫𝔡 𝔗𝔢𝔯𝔪𝔰 𝔬𝔣 𝔖𝔢𝔯𝔳𝔦𝔠𝔢 𝔞𝔭𝔭𝔩𝔶.