architecture

apbleonard 2020-04-15T09:48:31.135800Z

I think where the clojure world can add to the general narrative of event modelling is in the notion of capturing state as atomic pieces of information - a la Datomic or Datascript - instead of as events. That way you can transact and then pull out the low-level information you need (what jobs happened when) and the high level information (has a report been requested) side by side without wrapping them up inside events. Valentin Waeselynck has good things to say on the subject. It's a bit moot if you don't use Datomic - but I think it is possible to implement without it - not least on the client side. And it does change the way you think about data and events quite a bit. http://vvvvalvalval.github.io/posts/2018-07-23-datascript-as-a-lingua-franca-for-domain-modeling.html ...... https://vvvvalvalval.github.io/posts/2018-11-12-datomic-event-sourcing-without-the-hassle.html

👍 2