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.

Creating a Photo Gallery in Phoenix with Arc - Part 2

Feb 25, 2019

In part 1 we created a simple photo gallery application which provided a good introduction to Arc. Today we'll expand on our application by adding the ability to upload multiple files at a time and swap out local storage for AWS S3.

Serving static content with AWS S3 and CloudFront

Feb 21, 2019

Serving static content with AWS S3 and CloudFront is an economical and convenient method of serving static content such as images or other files. Typically using a CDN such as CloudFront provides a better user experience for the consumers of your content and is also cheaper than serving and storing the content yourself or delivering it directly from S3. Today we'll look at the steps to setup a S3 bucket and serve the contents of the bucket thru CloudFront.

Creating a Photo Gallery in Phoenix with Arc - Part 1

Feb 19, 2019

File uploads are a common requirement of many applications. Today we'll look at how we can accomplish file uploads in Phoenix with the help of Arc... a flexible file upload and attachment library for Elixir.

Custom error pages in Phoenix

Feb 13, 2019

Just a quick post demonstrating how to set up custom error pages and view them in development.