A simple front-end framework in PHP for Rails APP