The Moving Parts of a Channel

Understand the details of making a Channel in phoenix.

Before we implement our own Channel, let’s take a look at the moving parts that make up a Channel.

The pieces of a Channel

We often talk about Phoenix Channels as if each one is a single, monolithic entity working independently. In fact, there are a number of moving parts acting in harmony across multiple layers that make Channels work as well as they do.

Let’s take a quick look at the most important ones to get a better feeling for the whole.

The Channel module

The Channel module is the tip of the iceberg, which is the most visible part that we will interact with. It’s a custom Behaviour defined within Phoenix. The Behaviour specifies that we ...