Listen "167: Customizing mix phx.new?"
Episode Synopsis
We've all run "mix phx.new", but have you ever thought to customize what that does? We talk with Victor Björklund who explains how we can create customized Phoenix project generators and why we might want to. We also discuss customizing the phoenix generators for our already generated projects. We explore the idea of supporting 3rd-party maintained generators and what that might look like. A fun discussion sure to “generate” ideas for your project!
Show Notes online - http://podcast.thinkingelixir.com/167 (http://podcast.thinkingelixir.com/167)
Elixir Community News
- https://github.com/elixir-lang/elixir/releases/tag/v1.15.5 (https://github.com/elixir-lang/elixir/releases/tag/v1.15.5?utm_source=thinkingelixir&utm_medium=shownotes) – Elixir 1.15.5 bug fix release
- https://pdx.social/@kenichi/110934002380304132 (https://pdx.social/@kenichi/110934002380304132?utm_source=thinkingelixir&utm_medium=shownotes) – Livebook code cells getting Vim and Emacs support
- https://pragprog.com/titles/tvmelixir/adopting-elixir/ (https://pragprog.com/titles/tvmelixir/adopting-elixir/?utm_source=thinkingelixir&utm_medium=shownotes) – Good quote from the “Adopting Elixir” book (published 5 years ago)
- https://twitter.com/paraxialio/status/1694832429087728005 (https://twitter.com/paraxialio/status/1694832429087728005?utm_source=thinkingelixir&utm_medium=shownotes)
- https://elixirforum.com/t/elixir-saves-pinterest-2-million-year-other-marketing-examples/57909/14 (https://elixirforum.com/t/elixir-saves-pinterest-2-million-year-other-marketing-examples/57909/14?utm_source=thinkingelixir&utm_medium=shownotes) – Elixir Saves Pinterest $2 million/year
- https://twitter.com/davydog187/status/1694768741467165147 (https://twitter.com/davydog187/status/1694768741467165147?utm_source=thinkingelixir&utm_medium=shownotes) – Tweet by Dave Lucia about what people can accomplish with Elixir and Phoenix in a short amount of time.
- https://twitter.com/geolessel/status/1695467313477173313 (https://twitter.com/geolessel/status/1695467313477173313?utm_source=thinkingelixir&utm_medium=shownotes) – Geoffrey Lessel shared observation that the timing page used by the World Cube Association is a Phoenix LiveView page.
- https://github.com/thewca/wca-live (https://github.com/thewca/wca-live?utm_source=thinkingelixir&utm_medium=shownotes) – Platform for running WCA competitions and sharing live results with the world created by Jonatan Kłosko
- https://twitter.com/AshFramework/status/1696257451857707295 (https://twitter.com/AshFramework/status/1696257451857707295?utm_source=thinkingelixir&utm_medium=shownotes) – Ash Framework experiments with adding a new “atomics” feature.
- https://github.com/ash-project/ash/blob/main/documentation/topics/atomics.md (https://github.com/ash-project/ash/blob/main/documentation/topics/atomics.md?utm_source=thinkingelixir&utm_medium=shownotes) – Atomics documentation and design
- https://twitter.com/ac_alejos/status/1695562511787983164 (https://twitter.com/ac_alejos/status/1695562511787983164?utm_source=thinkingelixir&utm_medium=shownotes) – Elixir gets a new Reinforcement Learning library named "Rein" for Nx.
- https://github.com/DockYard/rein (https://github.com/DockYard/rein?utm_source=thinkingelixir&utm_medium=shownotes) – Rein project on Github
- https://fly.io/phoenix-files/star-cross-live-view-processes/ (https://fly.io/phoenix-files/star-cross-live-view-processes/?utm_source=thinkingelixir&utm_medium=shownotes) – Star-Crossed LiveView Processes about linking processes to solve UI design
Do you have some Elixir news to share? Tell us at @ThinkingElixir (https://twitter.com/ThinkingElixir) or email at [email protected] (mailto:[email protected])
Discussion Resources
- https://victorbjorklund.com/guide-to-custom-phoenix-phx-new-generator-mix-task (https://victorbjorklund.com/guide-to-custom-phoenix-phx-new-generator-mix-task?utm_source=thinkingelixir&utm_medium=shownotes)
- https://jawdropping.io/ (https://jawdropping.io/?utm_source=thinkingelixir&utm_medium=shownotes)
- https://github.com/phoenixframework/phoenix/tree/main/installer (https://github.com/phoenixframework/phoenix/tree/main/installer?utm_source=thinkingelixir&utm_medium=shownotes)
- https://hex.pm/packages/oban (https://hex.pm/packages/oban?utm_source=thinkingelixir&utm_medium=shownotes)
Guest Information
- https://twitter.com/BjorklundVictor (https://twitter.com/BjorklundVictor?utm_source=thinkingelixir&utm_medium=shownotes) – on Twitter
- https://github.com/victorbjorklund/ (https://github.com/victorbjorklund/?utm_source=thinkingelixir&utm_medium=shownotes) – on Github
- https://genserver.social/victorbjorklund (https://genserver.social/victorbjorklund?utm_source=thinkingelixir&utm_medium=shownotes) – on Fediverse
- https://victorbjorklund.com/ (https://victorbjorklund.com/?utm_source=thinkingelixir&utm_medium=shownotes) – Blog
Find us online
- Message the show - @ThinkingElixir (https://twitter.com/ThinkingElixir)
- Message the show on Fediverse - @[email protected] (https://genserver.social/ThinkingElixir)
- Email the show - [email protected] (mailto:[email protected])
- Mark Ericksen - @brainlid (https://twitter.com/brainlid)
- Mark Ericksen on Fediverse - @[email protected] (https://genserver.social/brainlid)
- David Bernheisel - @bernheisel (https://twitter.com/bernheisel)
- David Bernheisel on Fediverse - @[email protected] (https://genserver.social/dbern)
- Cade Ward - @cadebward (https://twitter.com/cadebward)
- Cade Ward on Fediverse - @[email protected] (https://genserver.social/cadebward)
Show Notes online - http://podcast.thinkingelixir.com/167 (http://podcast.thinkingelixir.com/167)
Elixir Community News
- https://github.com/elixir-lang/elixir/releases/tag/v1.15.5 (https://github.com/elixir-lang/elixir/releases/tag/v1.15.5?utm_source=thinkingelixir&utm_medium=shownotes) – Elixir 1.15.5 bug fix release
- https://pdx.social/@kenichi/110934002380304132 (https://pdx.social/@kenichi/110934002380304132?utm_source=thinkingelixir&utm_medium=shownotes) – Livebook code cells getting Vim and Emacs support
- https://pragprog.com/titles/tvmelixir/adopting-elixir/ (https://pragprog.com/titles/tvmelixir/adopting-elixir/?utm_source=thinkingelixir&utm_medium=shownotes) – Good quote from the “Adopting Elixir” book (published 5 years ago)
- https://twitter.com/paraxialio/status/1694832429087728005 (https://twitter.com/paraxialio/status/1694832429087728005?utm_source=thinkingelixir&utm_medium=shownotes)
- https://elixirforum.com/t/elixir-saves-pinterest-2-million-year-other-marketing-examples/57909/14 (https://elixirforum.com/t/elixir-saves-pinterest-2-million-year-other-marketing-examples/57909/14?utm_source=thinkingelixir&utm_medium=shownotes) – Elixir Saves Pinterest $2 million/year
- https://twitter.com/davydog187/status/1694768741467165147 (https://twitter.com/davydog187/status/1694768741467165147?utm_source=thinkingelixir&utm_medium=shownotes) – Tweet by Dave Lucia about what people can accomplish with Elixir and Phoenix in a short amount of time.
- https://twitter.com/geolessel/status/1695467313477173313 (https://twitter.com/geolessel/status/1695467313477173313?utm_source=thinkingelixir&utm_medium=shownotes) – Geoffrey Lessel shared observation that the timing page used by the World Cube Association is a Phoenix LiveView page.
- https://github.com/thewca/wca-live (https://github.com/thewca/wca-live?utm_source=thinkingelixir&utm_medium=shownotes) – Platform for running WCA competitions and sharing live results with the world created by Jonatan Kłosko
- https://twitter.com/AshFramework/status/1696257451857707295 (https://twitter.com/AshFramework/status/1696257451857707295?utm_source=thinkingelixir&utm_medium=shownotes) – Ash Framework experiments with adding a new “atomics” feature.
- https://github.com/ash-project/ash/blob/main/documentation/topics/atomics.md (https://github.com/ash-project/ash/blob/main/documentation/topics/atomics.md?utm_source=thinkingelixir&utm_medium=shownotes) – Atomics documentation and design
- https://twitter.com/ac_alejos/status/1695562511787983164 (https://twitter.com/ac_alejos/status/1695562511787983164?utm_source=thinkingelixir&utm_medium=shownotes) – Elixir gets a new Reinforcement Learning library named "Rein" for Nx.
- https://github.com/DockYard/rein (https://github.com/DockYard/rein?utm_source=thinkingelixir&utm_medium=shownotes) – Rein project on Github
- https://fly.io/phoenix-files/star-cross-live-view-processes/ (https://fly.io/phoenix-files/star-cross-live-view-processes/?utm_source=thinkingelixir&utm_medium=shownotes) – Star-Crossed LiveView Processes about linking processes to solve UI design
Do you have some Elixir news to share? Tell us at @ThinkingElixir (https://twitter.com/ThinkingElixir) or email at [email protected] (mailto:[email protected])
Discussion Resources
- https://victorbjorklund.com/guide-to-custom-phoenix-phx-new-generator-mix-task (https://victorbjorklund.com/guide-to-custom-phoenix-phx-new-generator-mix-task?utm_source=thinkingelixir&utm_medium=shownotes)
- https://jawdropping.io/ (https://jawdropping.io/?utm_source=thinkingelixir&utm_medium=shownotes)
- https://github.com/phoenixframework/phoenix/tree/main/installer (https://github.com/phoenixframework/phoenix/tree/main/installer?utm_source=thinkingelixir&utm_medium=shownotes)
- https://hex.pm/packages/oban (https://hex.pm/packages/oban?utm_source=thinkingelixir&utm_medium=shownotes)
Guest Information
- https://twitter.com/BjorklundVictor (https://twitter.com/BjorklundVictor?utm_source=thinkingelixir&utm_medium=shownotes) – on Twitter
- https://github.com/victorbjorklund/ (https://github.com/victorbjorklund/?utm_source=thinkingelixir&utm_medium=shownotes) – on Github
- https://genserver.social/victorbjorklund (https://genserver.social/victorbjorklund?utm_source=thinkingelixir&utm_medium=shownotes) – on Fediverse
- https://victorbjorklund.com/ (https://victorbjorklund.com/?utm_source=thinkingelixir&utm_medium=shownotes) – Blog
Find us online
- Message the show - @ThinkingElixir (https://twitter.com/ThinkingElixir)
- Message the show on Fediverse - @[email protected] (https://genserver.social/ThinkingElixir)
- Email the show - [email protected] (mailto:[email protected])
- Mark Ericksen - @brainlid (https://twitter.com/brainlid)
- Mark Ericksen on Fediverse - @[email protected] (https://genserver.social/brainlid)
- David Bernheisel - @bernheisel (https://twitter.com/bernheisel)
- David Bernheisel on Fediverse - @[email protected] (https://genserver.social/dbern)
- Cade Ward - @cadebward (https://twitter.com/cadebward)
- Cade Ward on Fediverse - @[email protected] (https://genserver.social/cadebward)
More episodes of the podcast Thinking Elixir Podcast
283: Erlang Turns 27 and React at Risk
16/12/2025
282: Type Systems and View Transitions
09/12/2025
281: Planning for the Unexpected
02/12/2025
280: Dark Matter Developers
25/11/2025
279: Hot Code Upgrades and Hotter AI Takes
18/11/2025
278: WAL-ing Through Database Changes
11/11/2025
277: Searching Across the Hexiverse
04/11/2025
276: Elixir v1.19 Types and Speed
28/10/2025
275: From Slop to Success?
21/10/2025
274: Protocols, Permissions, and Performance
14/10/2025
ZARZA We are Zarza, the prestigious firm behind major projects in information technology.