We all know the story. You start a new and shinny web application, and at the beginning it's all about adding features and fullfilling requirements. Sooner than later, you'll realize that you have to put some order into the mess that came out of a fast growing application.
Play! framework provides a simple and practical way to better organize your application and to encapsulate reusable behaviour: enter Play framework modules.
In this article we will learn how to make a simple module for adding Google Web Analytics suport to our web applications. At the same time, to test it on line, we will see how easy is to deploy our application to Openshift, Red Hat's cloud Platform as a Service (Paas) offering.