Elixir Icon

Elixir

Elixir is a dynamic, functional language designed for building scalable and maintainable applications.
38 Stories
All Topics

Elixir infinum.co

Things I wish ActiveRecord had after using Ecto

Great list, and I agree with many of Vladimir’s points. However, I have to admit that Ecto’s take on preloading still bugs me after years of use. I find myself doing the preload dance all over the place even when I’m well aware of the performance issues around N+1 queries. I thought I’d get used to it over time, but it still irks me every time I see an Ecto.Association.NotLoaded exception.

read more

Elixir spin.atomicobject.com

Behaviour-Driven Unit Testing for Phoenix Controllers

This is a great introduction to the Mox library written by José Valim and the Plataformatec team. Mox’ philosophy: A simple summary is that when it comes to dependency injection, mocks should not be created ad-hoc. Instead, they should be constrained by predefined behaviours. This helps enforce contracts between modules, and it also makes tests easier to maintain and understand. We’ve been using the Mock library when testing against 3rd party services, and it works as advertised. However, we don’t test our controllers in isolation like in this post. Should we be?

read more

The Changelog The Changelog #261

Building an artificial Pancreas with Elixir and Nerves

We talked with Tim Mecklem about building an artificial Pancreas with Elixir and Nerves to help those with Type 1 Diabetes who want to “loop” — a process which involves monitoring glucose levels, predicting where a person’s glucose levels are heading, then delivering insulin based on that prediction. Tim is a Developer at Gaslight in Cincinnati where he builds software solutions with Ruby and Elixir, and he’s a member of the Nerves Core team.

read more

The Changelog The Changelog #208

Ecto 2 and Phoenix Presence with José Valim and Chris McCord

José Valim and Chris McCord joined the show to talk all about how they’re advancing the “state of the art” in the Elixir community with their release of Ecto 2.0 and Phoenix 1.2. We also share our journey with Elixir at The Changelog, find out what makes Phoenix’s new Presence feature so special, and even find time for Chris to field a few of our support requests.

read more

The Changelog The Changelog #194

Elixir and the Future of Phoenix with José Valim

José Valim joined the show to talk about Elixir. We learned about the early days of José’s start as a programmer. José took us back to the beginning of Elixir and shared why Erlang got him so excited, we broke down features of the language, we talked about functional programming, concurrency, developing for multi-core systems, we talked about the Elixir community, the future of Phoenix, Ecto, and more.

read more

0:00 / 0:00