Hi all,
I had the chance to listen to Ben Ramsey's talk about REST last week in
IPC07. During the talk, Ben explained the REST model / philosophy, and
mentioned that our Zend Framework implementation of Zend_Rest_Server is
in fact not RESTFul, but more RPC style.
I did some more reading on this and it really does seem that our
Rest_Server is more RPC oriented (eg. method focused and not resource
focused) web service implementation.
I was going to propose a redesign of our REST server, which will be
similar to a front controller router / dispatcher implementation,
mapping URLs to classes which contain a method / action for each HTTP
"verb" (GET, POST, PUT, DELETE). I think this could be a base for a
simple, light and elegant implementation.
Before I do that, I would like to hear your opinions about this, as I am
not too experienced with REST and I have a general feeling that there is
no real "standard" we can follow here.
Shahar.