Building a new MySQL adapter for Ecto, Part I: Hello World

As you may have seen in the announcement, Plataformatec is working on a new MySQL driver called MyXQL. Writing a complete driver involves quite a bit of work. To name just a few things, we need to support: all protocol messages and data types, authentication schemes, connection options (TCP/SSL/UNIX domain socket), transactions and more. Rather … »

Conquistando Melhoria Contínua Através de Retrospectivas Lúdicas

Há alguns anos atrás, quando tive os meus primeiros contatos práticos com os métodos ágeis, conheci e participei pela primeira vez (como ouvinte) de um famoso evento do universo ágil: Retrospectivas. Após duas horas de reunião, entendi (equivocadamente, por sinal) que essa reunião tinha dois grandes objetivos: escutar as pessoas elogiando algumas características da última … »

Starting with Elixir, the Study Guide

While I was studying Elixir, I had the opportunity to read many books and watch many talks, but I felt very lost because I didn’t know what I had to read or which exercises to do, in order to become a better functional Elixir developer. The main objective of this material is to show what … »

Trabalhando com times distribuídos

Segundo a Harvard Business Review, uma das maiores dificuldades de times hoje e no futuro será o fator da distância. Cada dia que passa, é mais comum trabalharmos com times remotos, o que gera um grande obstáculo na comunicação, algo que por si só já é um tema complexo. Para trabalharmos bem com times distribuídos, … »

Updating Hex.pm to Ecto 3.0

Ecto 3.0 is just around the corner and as you may already know it reached stable API. To make sure everything works properly I thought I’ll try updating one of the first projects that ever used Ecto: Hex.pm. The whole upgrade was done in a single pull request, which we will break down below. First, … »

A sneak peek at Ecto 3.0: performance, migrations and more

Welcome to the “A sneak peek at Ecto 3.0” series: Breaking changes Query improvements part 1 Query improvements part 2 Performance, migrations and more (you are here!) We are back for one last round! This time we are going to cover improvements on three main areas: performance, upserts and migrations. If you would like to … »