Want to read more about Development? Let's take a look-sy:
Using Ecto's Virtual Fields with select_merge
Using Ecto’s virtual fields with select_merge You may know that Ecto has a “virtual” field type that you can use to include pretty much anything in an Ecto struct. But did you know that you can also populate a virtual field directly in an Ecto Query? Say I have a...
The Beauty of Folds and Union Types in Elm
The Beauty of Folds and Union Types in Elm The Problem After finishing up a side project in Elm about a month ago, I decided that I enjoyed the language so much that I might as well start work on a whole new side project. At the time I started...
Elm, Elixir, and Phoenix: Reflecting on a Functional Full-Stack Project
A couple days ago, I wrapped up work on a side-project I started back in December 2016. It started out as a barebones server-side-rendered Phoenix app, and my only real goal at the time was to do a deep-dive into both Elixir and the Phoenix framework itself. The application is...
TIL: How to Explicitly Set Session Expiration in Phoenix
By default Phoenix stores session data in browser cookies. I don’t know why, but I thought the default was for those cookies to never expire. It turns out by default they expire when the browser session ends. I found this out because my users weren’t able to stay logged in...
Code Reviews and Art Critiques
As I’ve progressed in my software development career, I’ve come to really appreciate working with good designers. I’ve been fortunate enough to work several places where developers and designers co-exist in this wonderful utopia of productivity, creativity, and mutual respect. I love that I can code something to solve the...
A Front End Quick Start Guide to Phoenix and Elixir
Elixir has taken our office by storm, with special thanks to a few Elixir evangelists in the office. Three out of eight of our current client projects at Gaslight use Elixir and Phoenix. We even have two developers speaking at ElixirConf next week! If you’re like me and work in...