2024
- Modelling
throughrelationships with AshThey’re not natively supported, but you can still make them!
2023
- Updating flash messages from Phoenix LiveView components
Making liveviews the source of truth for all flash-related information.
- How does Ecto know the current UTC date/time?
Going down a rabbit hole while trying to fix a timezone issue, as one does.
2022
- Got errors with file uploads in Phoenix LiveView 0.18?
Phoenix LiveView 0.18 is out with a bunch of cool new features, but a few hidden gotchas for upgraders…
2021
- One neat trick to getting Tailwind’s JIT compiler working in Phoenix
JIT compilation is amazing for your development productivity, but it requires some non-obvious changes to get it working with Phoenix.
- Efficiently querying data in batches using Absinthe
Building APIs with Absinthe and GraphQL gives you great power, but with great power comes great responsibility. It can be easy to make a bit of a mess and go about fetching data in very slow and inefficient ways, and it’s up to us as developers to notice it happening and nip it in the bud.
2018
- How I Work: Tackling Advent of Code, Day 21
A description of how I thought through and solved a tricky coding challenge
2017
- TIL: Ecto reading after writes
Today I learned that by default, Ecto doesn’t read data back from the database, after writing new or updated data!
2015
- Internationalization using Gettext in the Phoenix framework
A new feature that dropped in Phoenix 1.1, that I’m really excited about!
- Using page-specific page titles in the Phoenix framework
Two ways of accomplishing the same goal, using view helper methods.