Chapter 10Using Channels

If you dabbled in Phoenix before buying this book, at this point you’re probably wondering why we’ve come so far and barely mentioned channels. The truth is that for the interactive applications we care about the most, channels are simpler to build so there’s less to talk about.

Think about everything you’ve learned so far. Up until now, a browser made an isolated request and Phoenix delivered an isolated response. We had to spend plenty of time on pipelines and code organizational tools that let you do everything necessary to tie an individual user to each request and remember the exact state of the conversation. You know it well. A browser makes a request and the web server returns a response:

We build applications ...

Get Programming 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.