The past few years, more and more applications have been transitioning to websockets for real-time communication, even forcing some frameworks to implement them (such as ActionCable in Rails 5). The Phoenix Framework for Elixir implements it natively, without depending on any external programs such as
Redis
.Today, weβre going to build a super simple chat application in Elixir using the Phoenix Framework. Weβre going to ignore authentication, authorization and other features so we can quickly go over the basics, and get websockets in Elixir running.
continue reading on shyr.io
β οΈ This post links to an external website. β οΈ
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.