
9: Decomposing models with Maciej Kaszubowski
About this episode
Decomposing models based on lifecycle with Maciej Kaszubowski. He shares tips on finding the lines, how DDD can help, ideas for modular designs, simple ways to start a PubSub architecture, avoiding “donkey code” and much more!
Show Notes online - http://podcast.thinkingelixir.com/9
Elixir Community News
- https://twitter.com/hauleth/status/1292919509406363661
- https://hex.pm/packages/magritte – Package that lets you place inserted arguments with the pipe operator
- https://github.com/dashbitco/nimble_totp/ – Time-based One Time Password support library extracted from Bytepack.io project
- https://dashbit.co/blog/introducing-nimble-totp
- https://twitter.com/1stAvenger/status/1293163024484913155 – Ecto.Enum and ParameterizedType
- https://github.com/elixir-ecto/ecto/pull/3370 – Ecto.Enum PR
Do you have some Elixir news to share? Tell us at @ThinkingElixir or email at [email protected]
Discussion Resources
- https://mkaszubowski.com/2020/06/24/decomposing-models-lifecycle.html
- https://mkaszubowski.com/2020/06/02/modular-software-design-benefits.html
- https://mkaszubowski.com/2020/05/28/costs-of-modular-software-design.html
- https://appunite.com/
- https://mkaszubowski.com/2017/10/30/whats-wrong-with-global-user-module.html
- https://github.com/aaronrenner/phx_gen_auth
- https://www.youtube.com/watch?v=z4p4e9Uwn6I
- https://einarwh.wordpress.com/2017/01/21/donkey-code/ – Donkey Code explanation
- https://www.youtube.com/watch?v=d2Ddo8OV7ig
Guest Information
- https://twitter.com/mkaszubowski94 – on Twitter
- https://github.com/mkaszubowski/ – on Github
- https://mkaszubowski.com/ – Blog
Find us online
- Message the show - @ThinkingElixir
- Email the show - [email protected]
- Mark Ericksen - @brainlid
- David Bernheisel - @bernheisel
- Cade Ward - @cadebward
More from Thinking Elixir Podcast
The final episode of Thinking Elixir after six incredible years of weekly episodes! We send things off in style with a packed news segment covering Phoenix LiveView 1.2's new colocated CSS powered by…
Elixir v1.20 has officially landed, marking a huge milestone as the language is now officially a gradually typed language, type checking every single line of code without requiring developer annotatio…
Mark shares a bittersweet housekeeping update — the Thinking Elixir Podcast is winding down, with the final episode airing June 23rd, 2026, closing the book on over six years of weekly shows. On the n…
Security takes center stage this week as the EEF's Jonatan Männchen highlights that atom exhaustion accounts for roughly one tenth of all CVEs in the BEAM ecosystem and Sobelow can help catch it befor…
News includes Elixir 1.20.0-rc.6 arriving as likely the final release candidate before v1.20.0 ships, completing a ~15-week roadmap and delivering full type inference across applications and dependenc…