A Resource Oriented Framework for PHP5.4