Digests » 163


Full Stack Fest 2018: Bring Back the Web

Fancy a week in Barcelona? Would you like to hear about Distributed systems, new browser APIs, Machine Learning, WebXR, PWA or Cryptography? Then Full Stack Fest is for you! Get a 15% discount using the code ELIXIR.

this week's favorite

How to mock HTTPoison in Elixir?

In this article, I'm showing how to use MOX library to simulate HTTPoison behavior and how properly mock HTTP client in your tests.

Elixir Concurrent Programming

In Elixir if you need to write concurrent code, the GenServer module offers you lots of nice functions to handle the boilerplate it takes.

Why Elixir should be your next language if you’re a Pythonista

I started to learn Elixir programming language recently, and as a Pythonista I am liking the language a lot. While the syntax of Elixir is very different from Python, remembering more Ruby (the language that I current work with), Elixir have some of the same philosophy as Python, making it a very good choice for Pythonistas looking for their next language.

Elixir: a few things about GenStage I wish I knew some time ago

Today I want to talk about GenStage. Although this behaviour was introduced a while ago in Elixir ecosystem not every developer has tried it out. And there is a bunch of questions that you’ll probably face while dealing with GenStage for the first time.

Simplifying Phoenix Controllers with action_fallback

Here we have a simple application that lists a few different albums. We see we can view an album and edit an album. However, if we try to edit or view an album that doesn’t exist in the database, we’re directed back to our homepage along with a message.