Using the Postgres Copy command in Ecto Migrations

May 12, 2019

A short post demonstrating how to make use of the Postgres copy command to populate table data from a CSV file.

Using Bulma and Sass in Phoenix

Apr 8, 2019

As a follow-up to the Bootstrap post from a couple of weeks ago, let's see how we can go about installing Bulma with Phoenix. The process is very similar, but there are a few deviations, so I figured it was worth a short post.

Case insensitive columns with PostgreSQL and Phoenix

Mar 11, 2019

By default database columns are case sensitive in PostgreSQL. For the most part this is fine, but there are cases where we want a column to ignore casing. In this brief post we'll look at how to set up case insensitive columns with PostgreSQL in the context of a Phoenix application.

Pagination in Phoenix

Mar 6, 2019

It isn't the most interesting of topics, but providing paging is a common requirement when building out an application. In this post we'll see how we can implement paging in Phoenix with the scrivener_ecto package.

Using Bootstrap and Sass in Phoenix

Feb 28, 2019

When Phoenix 1.4 was released, the default CSS framework became Milligram as opposed to Bootstrap. In this post we'll look at how to switch out Milligram for Bootstrap in a Phoenix 1.4 application.