Sign in

Christian Alexander

@phx.dev
126 followers 14 following 17 posts

I write code and do stuff. youtube.com/@CodeAndStuff

PostsRepliesMedia
Christian Alexander @phx.dev · 07/03/2026
Vendors are trying to emulate the BEAM, but there's truly nothing like it. Here's a walkthrough of what makes it special: processes, messaging, registries, ETS, distribution, and its ecosystem. Elixir was made for the current moment, and for what's to come. youtu.be/dKaZ89SkVYY #elixirlang
youtu.be
Elixir and the BEAM: the stack that was ready for AI
YouTube video by Code and Stuff
0161
Christian Alexander @phx.dev · 07/12/2025
The latest Code and Stuff video is here! Learn about Server-Side Request Forgery (SSRF) attacks and mitigations, complete with a working webhook demo application! #ElixirLang youtu.be/EWdphas_OP4
youtu.be
Server-Side Request Forgery: How it Works
YouTube video by Code and Stuff
182
Reposted by Christian Alexander
Elixir Radar @elixir-radar.com · 19/11/2025
Elixir Radar issue 490 is out! 📣 You can read it here: buff.ly/eBGmbTd This issue comes with content from @juanazam.bsky.social @yellowduck.be @bartblast.com @noelworden.bsky.social @phx.dev and Daniil Popov. Thank you! #ElixirLang
buff.ly
Elixir Radar Newsletter
Curated content from the Elixir community
085
Christian Alexander @phx.dev · 31/10/2025
The latest Code and Stuff video is here! This time, a walkthrough of @mikehostetler.bsky.social’s new ReqLLM package, which provides a unified interface to many model providers—all in Elixir! youtu.be/-U2sQ3e3R-0
youtu.be
ReqLLM: The Unified LLM Interface for Elixir
YouTube video by Code and Stuff
0131
Christian Alexander @phx.dev · 27/09/2025
It's finally here: the Code and Stuff walkthrough of Ash TypeScript! Learn how to build an Ash project from scratch, use LiveView to begin, and eject to React without much fuss! It also fits into @tanstack.com really nicely. #ElixirLang @ash-hq.org youtu.be/t-hori2Io14
youtu.be
Ash TypeScript: Rich Phoenix Frontends, Simplified
YouTube video by Code and Stuff
5313
Reposted by Christian Alexander
Elixir Radar @elixir-radar.com · 06/08/2025
Elixir Radar issue 480 is out! 📣 You can read it here: buff.ly/Xo2thcs This issue comes with content from @zachdaniel.dev @steffend.me @josevalim.bsky.social , Chris McCord and Christian Alexander . Thank you! #ElixirLang
buff.ly
Elixir Radar 480
0104
Christian Alexander @phx.dev · 06/08/2025
The latest Code and Stuff is here: Auto-Select Timezones in Phoenix Apps It's a quick one, showing a pattern I use all the time. #MyElixirStatus youtu.be/q6Kd5C7O-F8
youtu.be
Auto-Select Timezones in Phoenix Apps (Your Users Will Thank You)
YouTube video by Code and Stuff
0110
Christian Alexander @phx.dev · 03/08/2025
I made an Ash extension! Elixir is capable of hitting services hard; great for throughput but harsh when those services are trying to recover from an outage. The circuit breaker pattern addresses this issue and is now available in Ash! #MyElixirStatus hex.pm/packages/ash...
An example resource with a circuit breaker defined. If 10 failures are hit within 10 seconds, the action will fast fail for a minute to let the circuit reset.
1417
Reposted by Christian Alexander
Steffen Deusch @steffend.me · 31/07/2025
Phoenix #LiveView 1.1 is out now! (Actually already yesterday, but we were only able to release the blog post now) #MyElixirStatus phoenixframework.org/blog/phoenix...
phoenixframework.org
Phoenix LiveView 1.1 released! - Phoenix Blog
LiveView 1.1 brings quality of life improvements and some big new features like Colocated Hooks and keyed comprehensions.
45915
Christian Alexander @phx.dev · 31/07/2025
Phoenix LiveView 1.1 is out! Colocated JavaScript (and hooks), list comprehension improvements, and an igniter-based script that makes updating easier than ever. What an incredible release—check it out! #MyElixirStatus youtu.be/EV6DSqTOXM0
youtu.be
What's new in Phoenix LiveView 1.1?
YouTube video by Code and Stuff
1487
Christian Alexander @phx.dev · 20/07/2025
My next video is live! This time, I explore the ash_state_machine extension. Along the way, you'll learn about policies, pubsub, and Oban integration in the demo app! #ElixirLang #AshFramework youtu.be/_x6TE7hbE1k
youtu.be
What are state machines? (feat. Ash Framework)
YouTube video by Code and Stuff
0349
Reposted by Christian Alexander
Zach Daniel @zachdaniel.dev · 17/07/2025
hexdocs.pm/usage_rules now includes powerful docs-search tasks, and instructs agents to use them for research. Please, if you are working with LLMs and Elixir, try it out. It helps even when packages haven't written usage-rules files, thanks to the new docs tools! #ElixirLang
1386
Christian Alexander @phx.dev · 15/07/2025
LLMs don't do a great job of cleaning up after themselves. The result: developers include way too much of this AI slop in their commits. Did nobody teach them about git add --patch?
030
Christian Alexander @phx.dev · 14/07/2025
Coming soon: learn how to model payment states with ash_state_machine! The demo also includes background job processing to simulate payments, auth policies, and real time updates. All made easy with Ash! Which part are you interested in learning? #ElixirLang #AshFramework
3403
Christian Alexander @phx.dev · 03/07/2025
Calling multiple services doesn't have to be a nightmare. My latest video explores Reactor for workflow orchestration. Concurrent execution, automatic rollbacks on failure, and of course: it works with Ash AI. #MyElixirStatus #AshFramework youtu.be/0Dvn039qD8I
youtu.be
Complex Workflows in Elixir with Reactor (+ AI Agents)
YouTube video by Code and Stuff
0449
Christian Alexander @phx.dev · 23/06/2025
As promised, a new Phoenix App from Scratch video: Embedded schemas and an intro to Ecto Multi, all in the context of the demo budget tracker app! There's even some animations to describe Multi, if you're into that sort of thing. #MyElixirStatus youtu.be/Vx69evZOEAE
youtu.be
Advanced Forms with Embedded Schemas and Multi: Phoenix App from Scratch, Episode 9
YouTube video by Code and Stuff
0130
Reposted by Christian Alexander
Peter Ullrich @peterullrich.com · 20/06/2025
Oban is probably the greatest library I have ever used, especially with Oban.Pro on top. The value you get for free - or for a very reasonable amount - is mind-blowing.
1318
Christian Alexander @phx.dev · 17/06/2025
Embedded Ecto schemas in forms and a brief intro to Multi? Coming soon in the Budgie series on Code and Stuff! #MyElixirStatus
An example of an Ecto embedded schema, containing a full budget object and an additional decimal field called `period_funding_amount`.


  embedded_schema do
    field :period_funding_amount, :decimal
    embeds_one(:budget, Budget)
  endAn Elixir function called `construct_multi`, which inserts a budget and funds it if necessary.


defp construct_multi(data) do
    Ecto.Multi.new()
    |> Ecto.Multi.insert(:budget, data.budget)
    |> Ecto.Multi.run(:fund_budget, fn repo, %{budget: budget} ->
      fund_budget_if_necessary(repo, budget, data)
    end)
  end
050
Christian Alexander @phx.dev · 15/06/2025
Did you know @ash-hq.org can import existing database tables as resources automatically? It can even generate relationships and constraints! #AshFramework #ElixirLang
1243