DrupalCafe4 Kiev Services

1,132 views

Published on

Presentation about Services module for Drupal.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,132
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
5
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

DrupalCafe4 Kiev Services

  1. 1. Yuriy Gerasimov Madcap B.V. [email_address] Drupal Services
  2. 2. Architechture
  3. 3. Services 2.x <ul><li>Only one endpoint (all enabled services get listed)
  4. 4. Both method and resource oriented
  5. 5. Nice interface for testing </li></ul>
  6. 6. Services 2.x hook_service
  7. 7. Services 2.x hook_service_resource Create Retrieve Update Delete Index
  8. 8. Services 2.x testing calls
  9. 9. Services 2.x authentication
  10. 10. Services 2.x User authentication <ul><li>system.connect
  11. 11. user.login
  12. 12.
  13. 13. user.logout </li></ul>
  14. 14. Services 2.x XMLRPC call
  15. 15. Services 2.x XMLRPC login
  16. 16. Services 3.x <ul><li>resource oriented
  17. 17. separate endpoints (exportable to features)
  18. 18. development on github </li></ul>
  19. 19. Services 3.x hook_services_resources
  20. 20. Services 3.x hook_services_resources
  21. 21. Services 3.x REST server formatters <ul>http://<your_domain>/<your_endpoint_path>/<your_resource_path>.<formatter> </ul>Standard: php, json, jsonp, xml, yaml, bencode (see RESTServerViewBuiltIn)
  22. 22. Tools & Resources <ul><li>Poster https://addons.mozilla.org/en-US/firefox/addon/2691
  23. 23. Services Handbook http://drupal.org/handbook/modules/services
  24. 24. A future for Services. http://goodold.se/blog/tech/future-services-3x
  25. 25. Groups http://groups.drupal.org/services </li></ul>
  26. 26. Yuriy Gerasimov Madcap B.V. [email_address] Drupal Services

×