Thinking Elixir Podcast cover image

Thinking Elixir Podcast

167: Customizing mix phx.new?

Sep 5, 2023
Victor Björklund, Phoenix project generator customization expert, explains how to customize mix phx.new and discusses customizing the Phoenix generators for existing projects. The podcast also explores the idea of supporting 3rd-party maintained generators and their potential benefits. A fun discussion that generates ideas for project customization.
52:45

Podcast summary created with Snipd AI

Quick takeaways

  • Customizing Phoenix project generators can save time and ensure consistent code across projects.
  • Balancing the complexity of changes with the benefits they provide is important when customizing Phoenix generators.

Deep dives

Customizing Phoenix Generators

This podcast episode discusses how to customize Phoenix generators to generate code that aligns better with your specific needs and preferences. The host and guest explore the process of modifying the Phoenix installer and templates to add additional functionality and libraries to new projects. They highlight the benefits of customizing generators, such as saving time, maintaining consistency across projects, and avoiding missing important code. They also discuss the difference between modifying the installer for new projects and modifying generators in existing projects. The importance of balancing the complexity of changes with the time and effort they save is emphasized. The conversation concludes by considering the possibility of community-driven alternative generators for Phoenix and the benefits and drawbacks of working with generators versus macros.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode