A php framework for single page applications