What is the difference between the node_service and node_resource?
The node service is written to work with rpc oriented server implementations. Resources add CRUD semantics to the service declarations.
I talked about methods vs. resources at the drupalcamp in Stockholm, maybe this clears up some stuff: http://www.slideshare.net/hugowetterberg/services-drupalcamp-stockholm-2...
This made it possible to create a REST server for services. Something that was previously impossible.
Keeping it brief here, but please reply if you have further questions.
Cheers /Hugo
Comments
Comment #1
Hugo Wetterberg commentedThe node service is written to work with rpc oriented server implementations. Resources add CRUD semantics to the service declarations.
I talked about methods vs. resources at the drupalcamp in Stockholm, maybe this clears up some stuff:
http://www.slideshare.net/hugowetterberg/services-drupalcamp-stockholm-2...
This made it possible to create a REST server for services. Something that was previously impossible.
Keeping it brief here, but please reply if you have further questions.
Cheers
/Hugo
Comment #2
gdd