Sylvain KiefferinHackerNoon.comOn iterating and decoding sum types in ElmEXPERIMENTALMay 3, 2017May 3, 2017
Sylvain KiefferStoring any Elixir data in PostgresDisclaimer : this is just an experiment. I don’t know how f… up it is to store Erlang’s terms in a SQL DB.Apr 14, 20171Apr 14, 20171
Sylvain KiefferPostgrex notifications2018–10–03 : this article is quite old now. Somebody recently wrote about the same subject in a more cleaner and up-to-date way. Check it…Feb 22, 20165Feb 22, 20165
Sylvain KiefferMaterialized views in EctoA materialized view is a view that is materialized.Feb 16, 20164Feb 16, 20164
Sylvain KiefferCallbacks in the database (Postgres)WARNING : This is more about Postgres than Ecto.Feb 11, 20164Feb 11, 20164
Sylvain Kiefferprepare_changes and counter cacheIn my blog app, I have posts which have many comments. I’d like to add a comments_count field in Post and have it automatically updated…Feb 4, 20165Feb 4, 20165
Sylvain KiefferRender different formats in Phoenix (2nd attempt)EDIT : 1/ removed the disclaimer (here) 2/ typosJan 22, 2016Jan 22, 2016
Sylvain KiefferFiltering from params in PhoenixEDIT : This will not work if you have default values. See the Erratum below.Jan 21, 20166Jan 21, 20166
Sylvain KiefferRender different formats in PhoenixEDIT : In fact Phoenix.Controller.render accepts an atom (ex : :index) for the template, and chooses the format accordingly. So you can…Jan 20, 20164Jan 20, 20164