Wrapping Up
Let's have a look at what we have learned so far.
We'll cover the following
Logic and interface
We’ve done a lot in a short amount of time. We created a new project for our web interface. We brought the game logic in as a dependency and got the interface to call into the game server.
That’s the surface-level view. Looking at it more deeply, we solved one of the most vexing problems related to using web frameworks. We created a clean separation between logic and interface that makes the testing and the maintenance of our application a breeze. If we ever need to upgrade to a newer major version of Phoenix, it’ll be a significantly easier task than it would be with other frameworks.
At this point, we’re ready to tackle one of the most exciting parts of Phoenix—Channels. Channels provide persistent, stateful connections between back-ends and front-ends, and they scale beautifully. That’s where we’re headed next.
Get hands-on with 1400+ tech skills courses.