Creating a Simple WebSocket

Learn the fundamentals of real-time applications powered by Phoenix Channels.

WebSockets as the backbone of real-time applications

We’ll use WebSockets as our communication layer; they form the backbone of real-time web applications today. This may change as technology evolves, but it’s the best solution in the current technology landscape. We’ll start building real-time applications in the next section, but first, we’ll going to break down how WebSockets work. Understanding WebSockets is crucial to developing and delivering real-time applications to users.

Note: We’ll use a “Hello, World! ...