A framework for RESTful webservices based on PHP