Rails 4 Targets the Real-Time Web

rails4targetstherealtimewebRuby on Rails remains popular as a highly productive framework for building Web applications. However, it was losing traction to Node.js because of the latter’s ability to handle use cases where data needs to be streamed from server to client (in contrast to the traditional request-response cycle for web applications). The latest release of Rails however, provides some potentially game changing enhancements that open up new application domains to the Rails community. I want to take a look at some of them in this post.

At first look, the move to Rails 4 is not as significant a change as the move to Rails 3 was. Many of the differences with Rails 3 are progressive refinements or maturations of features already present. This has an advantage as it does make the migration of an existing project from Rails 3 to Rails 4 a relatively straightforward process. However, there are three that are key indicators of the way web application development is going, and I feel that together they have an impact that is of major significance to the Rails community. The first of these, and to my mind the most important, is ActionController::Live [Read more…]