Must read Elixir resources
Published 15 July 2022
There’s a lot of well made content spread around the elixir community. Some of them are easy to find and some of them aren’t as easy. This is a curated collection of articles and conference talks that I usually recommend to others, grouped by topic.
I hope they can be of value!
Elixir
- Dependency Inversion with Elixir Protocols -German Velasco
- The Comprehensive Guide to Elixir’s List Comprehension - Mitchell Hanberg
- New to Elixir? Beware of Date and DateTime Comparisons! -German Velasco
Best practices
- Good and Bad Elixir - Chris Keathley
- Catalog of Elixir-specific code smells - lucasvegi/Elixir-Code-Smells
- ► Clarity (ElixirConf EU 2021) - Saša Jurić
Phoenix
- Contexts, Error Handling, and, Middleware - Chris Bailey
- Dynamic forms with Phoenix - Dashbit Blog
- Creating dynamic checkboxes and radio buttons in Phoenix - Johan Tell
Phoenix Live View
- How We Got to LiveView - Fly
- Dynamic LiveView Forms - Weakty
- Building a Distributed Turn-Based Game System in Elixir - Fly
Ecto
- Safe Ecto Migrations - Fly
- Don’t use Elixir modules in migrations - Bartosz Górka
- Ecto Query Patterns - Chris Bailey
- Automatic and manual Ecto migrations - Dashbit Blog
- ► $callers and $ancestors and Tasks oh my!, - Isaac Yonemoto
Testing
- Mocks and explicit contracts - Dashbit Blog
-
Using ExUnit’s
start_supervised/2
for better cleanup - German Velasco - Avoid test setup pollution (and 4 problems it creates) - German Velasco
OTP
- ► The Soul of Erlang and Elixir (GOTO 2019) - Saša Jurić
- Understanding Exit Signals in Erlang/Elixir - Emil Soman
- Getting familiar with how GenServer uses send and receive - Johan Tell
Other
Johan Tell