Straightforward Auth in Phoenix, 2026 Edition
Back in 2016 I left myself a note: for simple auth in Phoenix, skip Pow and hand-roll it like the book shows. Ten years later the honest answer is different....
Back in 2016 I left myself a note: for simple auth in Phoenix, skip Pow and hand-roll it like the book shows. Ten years later the honest answer is different....
Elixir is dynamically typed, but ‘typing in Elixir’ now spans three things: the runtime shape you get from pattern matching and structs, optional typespecs c...
Phoenix LiveView handles real-time interactivity on the server, so you can build interactive pages without writing a frontend framework. Here’s a small task ...
A few ways to generate prime numbers in Elixir, from a naive check to a recursive sieve, a lazy infinite stream, and a parallel version with Task.async_strea...
You don’t always need Phoenix. For a small API, Plug alone gives you full control over requests and responses with almost no machinery. Here’s a JSON endpoin...
When writing Elixir code you’ll often find yourself typing the pipe operator which is not very convinient. Let’s see how to ease this in Emacs.
Elixir and Erlang comes with so much tooling that most of the time you’ll be able to do what you need to without having to depend on any external software.
You’ve probably heard that in Elixir you should let processes crash rather than trying to catch every possible exceptions. Then, after a crash, you only have...
Sometimes when you’re writing a Phoenix app you want to split your translation files to avoid having one big file with everything inside but rather having on...