introduction to using titanium with drupal services
play

Introduction to using Titanium with Drupal Services Stephen Barker, - PowerPoint PPT Presentation

Introduction to using Titanium with Drupal Services Stephen Barker, Digital Frontiers Media @digitalfrontier Friday, February 10, 2012 1 Web Services Overview iOS or Android app sends data (or request for data) to a website Friday,


  1. Introduction to using Titanium with Drupal Services Stephen Barker, Digital Frontiers Media @digitalfrontier Friday, February 10, 2012 1

  2. Web Services Overview iOS or Android app sends data (or request for data) to a website Friday, February 10, 2012 2

  3. Web Services Overview (cont.) Responses are returned along with any requested data (if correctly requested) Friday, February 10, 2012 3

  4. Web Services Overview (cont.) Responses are returned along with any requested data (if correctly requested) Friday, February 10, 2012 4

  5. Drupal Services Solution Friday, February 10, 2012 5

  6. Drupal Services Drupal.org/project/services Friday, February 10, 2012 6

  7. Services Module Suite Services API Module Services Modules Services Server Modules System Services JSON, XML-RPC, etc. Node Services Services Authentication Views Services Session Authentication User Services Key Authentication many others... Friday, February 10, 2012 7

  8. Enable Modules Friday, February 10, 2012 8

  9. Create Service Endpoint Friday, February 10, 2012 9

  10. Create Service Endpoint (cont.) <--Machine name for service <--Server/data type <--URL path endpoint for service Friday, February 10, 2012 10

  11. Enable Service Resources Friday, February 10, 2012 11

  12. Enable Service Resources (cont.) Friday, February 10, 2012 12

  13. Test Service Endpoint <--Good sign Friday, February 10, 2012 13

  14. Set Appropriate Permissions Since we’re not doing Services Authentication in this demo, we have to allow “anonymous” to perform actions we’re providing service resources for. Friday, February 10, 2012 14

  15. Titanium Studio Appcelerator.com Friday, February 10, 2012 15

  16. Public Demo GIST https://github.com/DigitalFrontiersMedia/Drupal- Services---Titanium-Example/tree/master/dsts Friday, February 10, 2012 16

  17. Add Some User Inputs to App Friday, February 10, 2012 17

  18. Setup node.create Button & EventListener <--Setup Button <--Setup EventListener <--Change to your Service Endpoint <--Example XMLRPC data structure available at http://drupal.org/node/1304802 Friday, February 10, 2012 18

  19. Include data in methodCall from User Input <--Value from UI input Friday, February 10, 2012 19

  20. Setup Feedback Function & Send the Request <--Value from UI input <--Provide feedback <--Send the data/request Friday, February 10, 2012 20

  21. Setup node.retrieve Button & EventListener <--Setup Button <--Setup EventListener <--Change to your Service Endpoint <--Value from UI input Friday, February 10, 2012 21

  22. Setup Feedback Function & Send the Request <--Start parsing response from Service <--Provide feedback <--Send the data/request Friday, February 10, 2012 22

  23. Stephen Barker, Digital Frontiers Media http://digitalfrontiersmedia.com stephen@digitalfrontiersmedia.com @digitalfrontier Friday, February 10, 2012 23

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend