Alternative parameters for phoenix controller actionsYou probably know the default parameters of a phoenix controller action callback: def index(conn, _params), do: […] or def create(conn…Jun 17, 20183Jun 17, 20183
Phoenix contexts and ecto abstract tablesPhoenix 1.3 introduced the concept of contexts in a application. Even though it’s a simple idea on paper — structure you application in…Nov 24, 20171Nov 24, 20171
Published inwebdevs.xyzEntity status history using ectoFor a project of mine I recently needed to keep the history of state changes for an entity in my database. Now there are lots of resources…Oct 24, 2017Oct 24, 2017
Customize Phoenix.View EEx renderingGetting straightforward HTML templates rendered in Phoenix is really easy. Create a plain View module (see here if you don’t know how), add…Sep 6, 2017Sep 6, 2017
Published inwebdevs.xyzLiving Styleguide mit Fractal und ProcessWireBei der Thematik von Styleguides und Pattern-Bibliotheken sind sich heutzutage wohl die meisten Entwickler darin einig, dass sie ein…Aug 15, 2016Aug 15, 2016