Digests » 260

this week's favorite

Testing HTML in Phoenix Controllers

Phoenix has a nice set of helpers for testing HTML responses. The default Phoenix generators offer a great way to get a quick start on testing HTML, but this guide hopes to dive in a bit further.

Using Bootstrap Native with Phoenix LiveView

In this article, we will cover how to make Bootstrap and LiveView work side by side. These steps may be applicable with other front-end frameworks too. We will be using Bootstrap to handle animations that depend only on the front-end, such as a dropdown, while everything else is powered by LiveView.

OTP Supervisor Restart Strategy: One For All

Hello, Fellow Alchemists! We will show you how the one-for-a'l supervision strategy works in OTP!

Why Elixir is the Programming Language You Should Learn in 2020

Fun might not be the only important consideration, but it is one that should not be underestimated. Elixir's syntax shares a lot of similarities with Ruby; both are high-level, readable, fun programming languages.

Making Nifs Portable

A few weeks ago, I saw that Mike Binns put together a project using the Xbox Kinect. Although I was stoked to see that, it had one huge glaring issue. There was no Linux support -and by extension, no Nerves support! Let’s take some time to fix that.