The Blog

The lines in between

How I added pagination using live_patch for my LiveView site using Dissolver
Jun 21, 2020

In this post, I show you how I created a custom dissolver theme to use so I could use the paginator library with my LiveView app.

How to use Bamboo with custom layouts in Phoenix
May 21, 2020

In this post we are going to start from a basic phoenix app and end with the ability to send emails with custom layout templates using Bamboo.

Upgrading Phoenix 1.5's render_existing
Apr 30, 2020

With the introduction of the new layouts in Phoenix 1.5, the traditional way of using render_existing/3 for dynamically calling render changes up a little bit. In this post I show you how to upgrade your use and address a common issue many of you seem to be hitting after upgrading your layouts.

I added realtime likes in less than an hour with Phoenix's LiveView
Apr 26, 2020

Small tutorial on how wonderful LiveView is and why you need to go and try it right now!

Phoenix 1.5.0 has been Released.
Apr 24, 2020

Not much has been said about the new 1.5.0 Release on 4/22/2020. In this post I go over some of the new not so obvious changes to the front end in Phoenix’s new generator.

Inject from your controller to decouple your contexts in Phoenix
Apr 24, 2020

In this post I will show you a simple pattern to decouple your Phoenix context so that you can specify from your controller how you want to preload your resource.

A look at how Phoenix configures Webpack per environment and how to expand upon that.
Apr 14, 2020

Phoenix is a great framework that gives you some out of the box configurations that are good enough for hitting the ground running, but that does not mean they are the best configurations to stick with long term. This blog post explores how Phoenix by default configures Webpack per environment and how you can go beyond the default.