Finite State Machines library, with opt-in Ecto friendliness Step by Step Guide to Improving Cohesion in Elixir

Decomposing domain models based on lifecycles

How can you decompose big domain models into nice modular design? I wrote a blog post (with examples in Elixir!) describing one of the possible techniques.

https://mkaszubowski.com/2020/06/24/decomposing-models-lifecycle.html