# 9: Decomposing models with Maciej Kaszubowski

> Episode of [Thinking Elixir Podcast](https://podistic.com/podcast/thinking-elixir-podcast.md) · Published August 18, 2020 · Duration 47:24

- **Listen on Podistic:** https://podistic.com/episode/9-decomposing-models-with-maciej-kaszubowski
- **Audio:** https://aphid.fireside.fm/d/1437767933/811c9756-babe-40ac-8c25-b3bb24e522e0/146a3514-1f93-4d7e-9dc7-669fc64e7bcc.mp3 (audio/mpeg)

## 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](http://podcast.thinkingelixir.com/9)

**Elixir Community News**

*   [https://twitter.com/hauleth/status/1292919509406363661](https://twitter.com/hauleth/status/1292919509406363661)
*   [https://hex.pm/packages/magritte](https://hex.pm/packages/magritte) – Package that lets you place inserted arguments with the pipe operator
*   [https://github.com/dashbitco/nimble\_totp/](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://dashbit.co/blog/introducing-nimble-totp)
*   [https://twitter.com/1stAvenger/status/1293163024484913155](https://twitter.com/1stAvenger/status/1293163024484913155) – Ecto.Enum and ParameterizedType
*   [https://github.com/elixir-ecto/ecto/pull/3370](https://github.com/elixir-ecto/ecto/pull/3370) – Ecto.Enum PR

Do you have some Elixir news to share? Tell us at [@ThinkingElixir](https://twitter.com/ThinkingElixir) or email at [show@thinkingelixir.com](mailto:show@thinkingelixir.com)

**Discussion Resources**

*   [https://mkaszubowski.com/2020/06/24/decomposing-models-lifecycle.html](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/06/02/modular-software-design-benefits.html)
*   [https://mkaszubowski.com/2020/05/28/costs-of-modular-software-design.html](https://mkaszubowski.com/2020/05/28/costs-of-modular-software-design.html)
*   [https://appunite.com/](https://appunite.com/)
*   [https://mkaszubowski.com/2017/10/30/whats-wrong-with-global-user-module.html](https://mkaszubowski.com/2017/10/30/whats-wrong-with-global-user-module.html)
*   [https://github.com/aaronrenner/phx\_gen\_auth](https://github.com/aaronrenner/phx_gen_auth)
*   [https://www.youtube.com/watch?v=z4p4e9Uwn6I](https://www.youtube.com/watch?v=z4p4e9Uwn6I)
*   [https://einarwh.wordpress.com/2017/01/21/donkey-code/](https://einarwh.wordpress.com/2017/01/21/donkey-code/) – Donkey Code explanation
*   [https://www.youtube.com/watch?v=d2Ddo8OV7ig](https://www.youtube.com/watch?v=d2Ddo8OV7ig)

**Guest Information**

*   [https://twitter.com/mkaszubowski94](https://twitter.com/mkaszubowski94) – on Twitter
*   [https://github.com/mkaszubowski/](https://github.com/mkaszubowski/) – on Github
*   [https://mkaszubowski.com/](https://mkaszubowski.com/) – Blog

**Find us online**

*   Message the show - [@ThinkingElixir](https://twitter.com/ThinkingElixir)
*   Email the show - [show@thinkingelixir.com](mailto:show@thinkingelixir.com)
*   Mark Ericksen - [@brainlid](https://twitter.com/brainlid)
*   David Bernheisel - [@bernheisel](https://twitter.com/bernheisel)
*   Cade Ward - [@cadebward](https://twitter.com/cadebward)
