Creating a Game Lobby System in Phoenix with Websockets

With the Phoenix web framework entering the scene, many people are amazed by how well it handles websockets and how easy it is to create a "hello world" chat app. Given that websockets are treated as first-class citizens in Phoenix, I thought it was worth exploring a more challenging problem than the typical chat app. In this post, we’ll look at how to harness the power of Phoenix to create a game lobby system, complete with invitations.

Read More

Pattern Matching In Elixir

Learning a new language is a great way to expand your knowledge about programming. You'll usually pick up some cool tricks or a new way of thinking about things. One of the things I've learned that's different about Elixir is pattern matching. It comes from its Erlang roots and it seems like one of those things that I'll wish every other language had from now on.


Read More