views:

5868

answers:

7

Hi All,

I'm looking to create a RESTful or pseudo-Restful based web service on a PHP/MySql stack. I'm wondering what some of the frameworks you suggest I look at?

I've been looking at Zend with Zend_Rest, but I'm curious to other things out there.

Ideally, there's be some form of ActiveRecord based object mapping to the exposed web service to make working with a MySQL database simpler.

Also, doesn't have to be true REST, passing in a parameter to the url is perfectly acceptable for DELETES and PUTS.

There will also be NO UI written in PHP with this, just pure XML POST/Response web service.

Thanks

+2  A: 

i like Konstrukt, there is also good book http://www.packtpub.com/restful-php-web-services/book

01
It would help if you could elaborate why Konstrukt is so great. I'm really curious too. :)
Till
+2  A: 

Here are a few good libraries for REST based webservices:

I personally use Zend_Rest...

Other links:

CMS
Zend_Rest is very much RPC. Nothing you should call REST. It doesn't use all the HTTP-verbs, resources, etc..
Till
In other words, Zend_Rest will only work well if I limit the RESTful client (e.g. Flex) to what Zend_Rest really supports,
PHP thinker
A: 

take a look at symfony 1.2

+1  A: 

also checkout Recess Framework

+8  A: 

The Recess PHP Framework sounds like it will perfectly cover your use case. You can specify the data model in a graphical UI (called Recess Tools) and it will generate models as well as a simple RESTful interface for you.

Kris Jordan
I've checked their videos, Recess is really worth looking at.
PHP thinker
A: 

I just created one called Chinchilla. Perhaps you would like that one.

jg
A: 

I like the Recess Framework too.

Chinchilla framework sounds good, I going to try this.

eaguilar