Drupal Services 3 - Drupal Dev Days 2011, Brussels

Embed Size (px)

Citation preview

Services

Greg Dunlap, Yuriy Gerasimov

Contributors

Sean Nelson

Marc Ingram

Hugo Wetterberg

Pelle Wessman

Jingsheng Wang

Yuriy Gerasimov

Kyle Browning

You?

Architechture

Services 3.x

Resource oriented (CRUD = create, retrieve, update, delete, index)

Actions

Different formatters (php, json, jsonp, xml, ...)

Separate endpoints (exportable to features)

Services 3.x resources

Node resource

Taxonomy vocabulary resourcegetTree

Taxonomy term resourceselectNodes

User resourcelogin

Logout

Files resource

Services 3.x resources

Comment resourceloadNodeComments

countAll

countNew

System resource (no CRUD)connect

get_variable

set_variable

Services Session Authentication

system.connect

user.login

user.logout

Services 3.x hook_services_resources

Services 3.x hook_services_resources

Services 3.x REST server formatters

http:////.

Standard: php, json, jsonp, xml, yaml, bencode (see RESTServerViewBuiltIn)

The Future

Context objects

Entities

Views

Core?

Tools & Resources

Poster https://addons.mozilla.org/en-US/firefox/addon/2691

Services Handbook http://drupal.org/handbook/modules/services

A future for Services. http://goodold.se/blog/tech/future-services-3x

Groups http://groups.drupal.org/services

Yuriy GerasimovMadcap [email protected]

Contact details