Learn Elixir
& Phoenix
ElixirCasts makes it easy to learn how to build applications with Elixir and Phoenix
Watch or Read
The best of both worlds. Every episode includes a video tutorial and a full transcript.
200+ Episodes
Every episode delivers hands-on, real-world examples you can use.
Stay Current
Continually updated with episodes that showcase the latest in the Elixir ecosystem.
Latest Episodes

Alchemist's Edition
#201: Using has_one Associations with Phoenix Forms
In this episode we’ll learn how add a one-to-one relationship using Ecto schemas. We’ll generate migrations and schemas, set up proper associations with has_one
and belongs_to
, and create nested forms that handle both artist and profile data in a single submission.

#200: Using belongs_to Associations with Phoenix Forms
In this episode, we’ll refactor our database to use a proper Artists table with database associations. You’ll learn how to set up has_many
and belongs_to
relationships in Phoenix, preventing duplicate artists and enabling more powerful queries.

Alchemist's Edition
#199: Phoenix LiveView Portal Component
Learn how to build a sleek, real-time search modal using Phoenix LiveView’s Portal component.

#198: Multiple Layouts in Phoenix 1.8
In this episode, we’ll explore how Phoenix 1.8 has simplified LiveView layouts by turning them into function components, making them more flexible and explicit.

#197: LiveView Colocated Hooks
In this episode, we learn how to use Phoenix LiveView 1.1’s colocated Hooks and colocated JavaScript features to easily add JavaScript functionality within our LiveView components.

#196: ReqEmbed
In this episode, we’ll use ReqEmbed to embed Elixir videos from YouTube in our application using the oEmbed format.

#195: Shorthand
In this episode we’ll explore Shorthand - a handy package that saves time by providing convenience macros to create or match against maps and keyword lists.

#194: Backpex Phoenix Admin Panel
Backpex is a customizable admin panel for Phoenix LiveView applications. In this episode, we’ll learn how to add Backpex to an application and create custom fields and filters.

Alchemist's Edition
#193: Drag-and-Drop with Phoenix LiveView
In this episode, we’ll learn how to implement a drag-and-drop feature that uses Phoenix LiveView. When elements are dragged between lists we’ll update their properties to match the new list.