Understanding Channel Structure
Frameworks often add several layers between the user and the business logic. Don’t worry if you feel a bit intimidated when you first look at Channels and see the different layers being used. You’ll understand each layer and its purpose as you progress through this chapter and book. This will help you to leverage Phoenix with a great amount of confidence.
Let’s look at a high-level diagram to understand the different processes and connections that exist in Channels:
A client connects to the server via transport mechanism such as a WebSocket, by connecting directly to an OTP process that manages the connection. ...
Get Real-Time Phoenix now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.