Episodes for phoenix
#133: Surface
Surface is a server-side rendering component library built on top of Phoenix LiveView. In this episode, we’ll see how to use Surface to create both stateless and stateful components.
#129: Phoenix LiveView LiveComponent
Love Phoenix LiveView, but haven’t learned about LiveComponents? Then check out this intro. We’ll start by building a Stateless component and refactor it to Stateful component.
Alchemist's Edition
#128: Using Twilio with Elixir
In this episode we’re integrating Twilio into a Phoenix LiveView application. When we’re finished users will be able to share their favorite album via text message.
#122: Using phx_gen_auth for Phoenix Authentication
There are many ways to add authentication Phoenix apps. Here we’ll explore the new Phx.Gen.Auth package and how easily it can be used to add authentication to Phoenix apps.
Alchemist's Edition
#115: Phoenix LiveView and PubSub
In this episode, we’ll send events from a Phoenix LiveView JS Hook and broadcast them using Phoenix PubSub to update all subscribed clients in realtime.
Alchemist's Edition
#114: Phoenix LiveView JS Hooks
Phoenix LiveView provides JS Hooks as a way to integrate LiveView with JavaScript. In this episode, we’ll create a new Phoenix LiveView project and see how we can use a hook to integrate it with a color-picker library.
#113: SEO Friendly URLs Revised
In this episode we’ll update the default URL structure of a resource in a Phoenix 1.5 application to use SEO friendly slugs.
#111: Session Testing with Elixir
Often when testing Phoenix controllers you’ll need to initialize the session with data. In this episode we’ll learn how to do just that using the Plug.Test module.
#105: How to Create Nested Phoenix Templates
By default, Phoenix doesn’t precompile templates in nested directories. In this episode we’ll see how we can update Phoenix to let us use templates in nested directories.