Full-Stack Developer

David Weirich

Written by David Weirich who lives and works in Orange County, CA building useful things.

Elixir: Loop through maps in a Phoenix template

December 01, 2017

There are many examples online of looping through lists in a Phoenix template, but I came across an instance where I needed to loop over a…

Resources for people new to the Elixir language

December 01, 2017

I’ve been programming with Elixir for the last two years now, and while at first it seemed like my knowledge of Ruby on Rails would carry…

Magento 2: Using placeholders in form fields

November 29, 2017

While the Magento 2 adoption of KnockoutJS has opened up the possibility for modern front-end features, the level of abstraction has raised…

Elixir: Using append and prepend options with inputs_for

November 28, 2017

The inputs_for method comes with two options for rendering the page with new elements as part of the collection you’re modifying (if it is a…