Services                Nagailic Sergiu | Nikrowww.wearepropeople.com
Content:                         •   Introduction to Web Services.                         •   Saying Hi to the Services m...
Introduction to Web               Services:                    •    XML-RPC / SOAP based Services                    •    ...
Why do we need Services?www.wearepropeople.com
Why do we need Services?www.wearepropeople.com
Why do we need Services?www.wearepropeople.com
Why do we need Services?www.wearepropeople.com
Clients…www.wearepropeople.com
XML Messages:www.wearepropeople.com
XML-RPC:                         XML-RPC is a remote procedure call                          (RPC) protocol which uses XML...
www.wearepropeople.com
www.wearepropeople.com
In result our API might look like:www.wearepropeople.com
SOAP:                    SOAP, originally defined as Simple Object Access                    Protocol, is a protocol speci...
www.wearepropeople.com
API approach | Usage:www.wearepropeople.com
API approach | Usage:www.wearepropeople.com
REST / RESTful APIs                    REpresentational State Transfer (REST) is a style of                     software a...
REST / RESTful APIswww.wearepropeople.com
Hello Services Module!www.wearepropeople.com
Hello Services Module!www.wearepropeople.com
Hello Services Module!                         uc Use Case Model                                Requestor                 ...
Hello Services Module!                         http://drupal.org/project/rest_server/ -                         explanatio...
Expanding the Module.               Creating own Resources.               Working example.                         DEMO | ...
Round-up.www.wearepropeople.com
Thanks!www.wearepropeople.com
Upcoming SlideShare
Loading in …5
×

Services

504 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Services

  1. 1. Services Nagailic Sergiu | Nikrowww.wearepropeople.com
  2. 2. Content: • Introduction to Web Services. • Saying Hi to the Services module. • More about Services. Expanding the module. • Working example. • Creating our own resources. • Round-up.www.wearepropeople.com
  3. 3. Introduction to Web Services: • XML-RPC / SOAP based Services • JavaScript Services • RESTful Services • Other (details in other sessions)www.wearepropeople.com
  4. 4. Why do we need Services?www.wearepropeople.com
  5. 5. Why do we need Services?www.wearepropeople.com
  6. 6. Why do we need Services?www.wearepropeople.com
  7. 7. Why do we need Services?www.wearepropeople.com
  8. 8. Clients…www.wearepropeople.com
  9. 9. XML Messages:www.wearepropeople.com
  10. 10. XML-RPC: XML-RPC is a remote procedure call  (RPC) protocol which uses XML to encode its calls and HTTP as a transport mechanism. "XML-RPC" also refers generically to the use of XML for remote procedure call, independently of the specific protocol.www.wearepropeople.com
  11. 11. www.wearepropeople.com
  12. 12. www.wearepropeople.com
  13. 13. In result our API might look like:www.wearepropeople.com
  14. 14. SOAP: SOAP, originally defined as Simple Object Access Protocol, is a protocol specification for exchanging structured information in the implementation of  Web Services in computer networks. It relies on  Extensible Markup Language (XML) for its message format, and usually relies on other Application Layer protocols, most notably Hypertext Transfer Protocol(HTTP) and  Simple Mail Transfer Protocol (SMTP), for message negotiation and transmission.www.wearepropeople.com
  15. 15. www.wearepropeople.com
  16. 16. API approach | Usage:www.wearepropeople.com
  17. 17. API approach | Usage:www.wearepropeople.com
  18. 18. REST / RESTful APIs REpresentational State Transfer (REST) is a style of  software architecture for distributed systems such as the  World Wide Web. REST has emerged over the past few years as a predominant Web service design model. REST has increasingly displaced other design models such as SOAP and WSDL due to its simpler style.www.wearepropeople.com
  19. 19. REST / RESTful APIswww.wearepropeople.com
  20. 20. Hello Services Module!www.wearepropeople.com
  21. 21. Hello Services Module!www.wearepropeople.com
  22. 22. Hello Services Module! uc Use Case Model Requestor Requestor Request Request EndPoint API Resource Node Resource Whatev er Resource Userwww.wearepropeople.com
  23. 23. Hello Services Module! http://drupal.org/project/rest_server/ - explanation of RESTful Serviceswww.wearepropeople.com
  24. 24. Expanding the Module. Creating own Resources. Working example. DEMO | LIVEwww.wearepropeople.com
  25. 25. Round-up.www.wearepropeople.com
  26. 26. Thanks!www.wearepropeople.com

×