What is the difference between the node_service and node_resource?

Comments

Hugo Wetterberg’s picture

Assigned: Unassigned » Hugo Wetterberg

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

gdd’s picture

Status: Active » Closed (fixed)