Comments on: Defining a RESTful Framework http://bradley-holt.com/2011/08/defining-a-restful-framework/ Mon, 29 Sep 2014 19:50:55 +0000 hourly 1 https://wordpress.org/?v=4.6.1 By: Josh Johnston http://bradley-holt.com/2011/08/defining-a-restful-framework/comment-page-1/#comment-3615 Fri, 19 Aug 2011 17:55:38 +0000 http://bradley-holt.com/?p=1327#comment-3615 It’s funny you made this post. I was just talking about this a lunch. I have a side project I have been working on to do just that, embrace HTTP instead of ignore it. I can’t believe (in PHP at least) that after all of these years there isn’t a single framework that uses what HTTP already gives us in terms on content negotiation, etc.

I am starting a framework for just this case, RestPHP. It is made to simplify the creation of RESTful web services by applying a resource oriented architecture. Each resource class can respond to each of the HTTP methods and will automagically respond with a view subclass that matches the client’s Accept header. It’s isn’t even functioning yet but it’s on GitHub. I’ll start working on it again once I get my beta android app out since it will eventually need to use the service.

https://github.com/Trii/RestPHP

]]>