Changelog

Elixir Icon

Elixir

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

Elixir Icon 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...
logged by @jerodsanto 2018-01-30T22:45:00.010628Z permalink #elixir #rails

Twitter Icon Twitter

PRs and Feedback to Ecto Are Welcome

Ecto's issues have been cleaned up and tagged with labels like Level:Advanced, Level:Intermediate, and Level:Starter to make it easier to know where you'd like to contribute. @elixirlang on Twitter: We have just tidied up the issues tracker for Ecto. If you were planning to contribute, pull requests and feedback are definitely welcome. #

read more...
logged by @adamstac 2018-01-14T03:19:02.208671Z permalink #elixir

Elixir Icon 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...
logged by @jerodsanto 2018-01-10T18:35:00.15910Z permalink #elixir #testing

Tim Mecklem Avatar The Changelog #261

Building an Artificial Pancreas with Elixir and Nerves with Tim Mecklem

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...
Play
logged by @logbot 2017-08-11T19:00:00Z permalink #elixir

Chris McCord Avatar José Valim Avatar 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...
Play
logged by @logbot 2016-06-22T06:00:00Z permalink #elixir

José Valim Avatar 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...
Play
logged by @logbot 2016-02-09T10:15:00Z permalink #elixir #fp
0:00 / 0:00