January 2018
Intermediate to advanced
220 pages
5h 5m
English
Congratulations! You’ve made it.
You’ve built a Phoenix channel that provides an interface to the game engine you wrote in Part 1. You did it without coupling the logic to the interface in any way. The game engine concerns itself entirely with the business logic of the game. The channel concerns itself entirely with brokering messages between clients and the game engine.
You’ve seen how to use Phoenix Presence to track clients who have subscribed to a channel on a topic, and you’ve seen how to use that to implement an authorization scheme for joining the channel.
With that, we’ve completed the last layer we’re going to cover in this book. Now go build some amazing new web apps!
Read now
Unlock full access