A service oriented architecture for ReSTful PHP applications