Digests » 249

this week's favorite

Stripe Webhooks in Phoenix with Elixir Pattern Matching

In life, there are some perfect pairings: wine and cheese, peanut butter and jelly, chicken and waffles, scotch and depression. Some things just work really well together. Luckily for us, one of those things (in my opinion) is Stripe Webhooks and Pattern Matching in Elixir.

An upcoming authentication solution for Phoenix

I am no stranger to authentication. A little more than a decade ago, I worked with my colleagues at my previous company, Plataformatec, to create a flexible authentication solution for Rails called Devise. As time passed, Devise became the de-facto authentication solution for Rails and one of the most used Rails packages, with more than 71 million downloads at the time of writing.

How to Use gRPC in Elixir

In today’s post, we’ll learn what gRPC is, when you should reach for such a tool, and some of the pros and cons of using it. After going over an introduction of gRPC, we’ll dive right into a sample application where we’ll build an Elixir backend API powered by gRPC.

Building a Nerves Lullaby Player

I’d heard about Elixir’s Nerves framework for embedded software and saw that it supported using Raspberry Pis. A commercial team might prototype with a Pi and build custom hardware later but, for me, a Pi could be the final hardware. I also saw that the Raspberry Pi 3 Model B+ had a built-in headphone jack and several USB ports.

History of Erlang and Elixir

In this article, we are going to look at the origins of Erlang, how it enables the functional programming paradigm and the actor model. Together with you, we will also look into the BEAM: the abstract machine that powers Elixir and Erlang, and how it allows software engineers to focus on business logic instead of the computational plumbing.