Skip to Content
Phoenix Web Development
book

Phoenix Web Development

by Brandon Richey
April 2018
Beginner to intermediate content levelBeginner to intermediate
406 pages
9h 33m
English
Packt Publishing
Content preview from Phoenix Web Development

Building channels and topics in Phoenix

Phoenix's real-time application support relies on two major core components in Phoenix: channels and topics. The general idea is that for a real-time application to be able to accurately broadcast out every message to the right parties (and for it to be able to understand messages that are sent in as well), Phoenix needs a system for how the messages get in and out. This represents our channels. Channels themselves are the Phoenix-side of sockets; where the socket represents how the information is transferred between the client and the server, the channel represents how the information hits the server and gets translated into something useful that Phoenix can work with.

In addition to that, we also ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Phoenix in Action

Phoenix in Action

Geoffrey Lessel
Real-Time Phoenix

Real-Time Phoenix

Stephen Bussey

Publisher Resources

ISBN: 9781787284197Supplemental Content