Single Page Application Done Right

* The post was also featured @ tech.ftbpro.com Single Page What?! Not too long ago, FTBpro.com moved its website from classic web architecture (CWA) to a single-page application (SPA). For those who are less familiar with SPA, the major differences between the two are as follows: First client request: CWA: The server returns a full […]

Ruby 2.1 & Rails 3 – Our Experience

We’ve recently moved FTBpro’s Ruby on Rails servers to the newest Ruby version on earth – Ruby 2.1. It has been running on our production servers for the past two weeks. Our stack includes: MySQL, MongoDB, Rails 3.2, ElasticSearch Memcached and Redis. We wanted to share our experience of making this change. Incompatibilities 1. First […]

Yet Another Sinatra Boilerplate

Motivation A few days ago I started my first web application with a Sinatra infrastructure. Coming mostly from the Ruby on Rails world, I was amazed to see how many of the basic features we take for granted in our Rails application, are hard to set up or even not existing in a Sinatra application. […]

Be Proud Of Your Commits

In FTBpro.com, we have a nice procedure of merging new code to our master branch. We use GitHub’s neat Pull Request (PR) feature to gain two big advantages: 1. It is easy to see the commits and the files changed in the branch compared to master. It is a very good tool for code reviewing. […]

SSH Connection Closed While Deploying With Capistrano

I wanted to share with you a problem I’ve been having for the past few weeks with a deployment via Capistrano. We have a few web servers and a few resque servers which we deploy our code to. Web servers have app and web roles while resque servers have app and resque roles. When we […]