Have you ever thought about using R (the programming language) to run some analyses using data from a Ruby on Rails application? This tutorial will provide step-by-step walkthrough on how to connect a simple Rails app to R.
I recently published this post on creating a game lobby system using Phoenix’s websockets. Here at Quick Left, we place a high value on our tests. This time around, I’ll be going over how to test the websocket code that we created in the previous post.
When you’re getting ready to build an application, there are many choices to be made. Will you choose to build it as cheaply as possible, then hope that things work out down the line? Or do you need something more resilient? If so, spending the time and money to build a quality application will pay off. Code written with craftsmanship will withstand the tests of time, changing business requirements, and user error.
At Quick Left, we believe that it’s worth taking the time to build things right. A well-written codebase saves time and money, can withstand the test of time. On the other hand, we’re also interested in doing things efficiently. If there’s a way to write quality code and save time and money, that’s the kind of service we want to provide for our clients. That’s why we use Test-Driven Development.
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.