Peter AratoFlex, Drupal, iOSPronovixhttp://itarato.blogspot.com/
@itarato
Drupal andcommunication
jQuery + Ajax
● easy access● same origin policy
cURL
● request from Drupal● plain text● submit data to 3rd party● highly customizable● parsing (XML)
JSON
● easy to use● flexible and concise format● lack of authentication
OAuth
https://dev.twitter.com          /pages        /libraries
● authentication● resource management● secure
Drupal XML-RPC API
XML-RPChttp://www.xmlrpc.com/spec
● easy access● lack of authentication● http://MYSITE/xmlrpc.php
Flash object - JavaScript
Services module
Services V2 vs. V3      DEMO
● Servers● Resources
Servers● XML-RPC● AMFPHP● REST● .. custom ...
AMFPHPhttp://community.silexlabs.org            /amfphp        /documentation/
REST     http://en.wikipedia.org               /wiki/Representational_State_Transfer
SERVER DEMOXML-RPC server implementation
Services (resources)● System● Node● User● Comment● .. anything else ...
SERVICE DEMOCustom service implementation
PYTHON ACCESS DEMO
FLASH ACCESS DEMO
OBJECTIVE-C DEMO
Accessibility
SWFObject● Dynamic Flash embedding● Flash object variables
SWFAddress● Deeplinking● History● State change notifications
Ajax Load
● http://projects.silexlabs.org/?/amfphp● http://api.drupal.org/api/drupal/developer--hooks--core.  php/function/hook_xmlr...
Thank you ^^ Questions?
Drupal and communication
Drupal and communication
Drupal and communication
Drupal and communication
Drupal and communication
Drupal and communication
Drupal and communication
Drupal and communication
Drupal and communication
Drupal and communication
Drupal and communication
Drupal and communication
Drupal and communication
Drupal and communication
Drupal and communication
Drupal and communication
Drupal and communication
Drupal and communication
Drupal and communication
Drupal and communication
Drupal and communication
Drupal and communication
Drupal and communication
Drupal and communication
Upcoming SlideShare
Loading in …5
×

Drupal and communication

1,976 views

Published on

Briefly about Drupal and communication. How can we produce data (other than HTML) and receive data. What layers we can use. We mention a lot of things such as XML-RPC

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

  • Be the first to like this

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

No notes for slide

Drupal and communication

  1. 1. Peter AratoFlex, Drupal, iOSPronovixhttp://itarato.blogspot.com/
  2. 2. @itarato
  3. 3. Drupal andcommunication
  4. 4. jQuery + Ajax
  5. 5. ● easy access● same origin policy
  6. 6. cURL
  7. 7. ● request from Drupal● plain text● submit data to 3rd party● highly customizable● parsing (XML)
  8. 8. JSON
  9. 9. ● easy to use● flexible and concise format● lack of authentication
  10. 10. OAuth
  11. 11. https://dev.twitter.com /pages /libraries
  12. 12. ● authentication● resource management● secure
  13. 13. Drupal XML-RPC API
  14. 14. XML-RPChttp://www.xmlrpc.com/spec
  15. 15. ● easy access● lack of authentication● http://MYSITE/xmlrpc.php
  16. 16. Flash object - JavaScript
  17. 17. Services module
  18. 18. Services V2 vs. V3 DEMO
  19. 19. ● Servers● Resources
  20. 20. Servers● XML-RPC● AMFPHP● REST● .. custom ...
  21. 21. AMFPHPhttp://community.silexlabs.org /amfphp /documentation/
  22. 22. REST http://en.wikipedia.org /wiki/Representational_State_Transfer
  23. 23. SERVER DEMOXML-RPC server implementation
  24. 24. Services (resources)● System● Node● User● Comment● .. anything else ...
  25. 25. SERVICE DEMOCustom service implementation
  26. 26. PYTHON ACCESS DEMO
  27. 27. FLASH ACCESS DEMO
  28. 28. OBJECTIVE-C DEMO
  29. 29. Accessibility
  30. 30. SWFObject● Dynamic Flash embedding● Flash object variables
  31. 31. SWFAddress● Deeplinking● History● State change notifications
  32. 32. Ajax Load
  33. 33. ● http://projects.silexlabs.org/?/amfphp● http://api.drupal.org/api/drupal/developer--hooks--core. php/function/hook_xmlrpc/6● http://drupal.org/project/services● http://drupal.org/node/109782 (Services docs)● http://www.dpdk.nl/opensource/drupalproxy-as-a-bridge- between-flash-as3-and-drupal-via-amf (Drupal Services proxy by DPDK)● http://www.dpdk.nl/opensource/source-code (Drupal Services proxy source)● https://github.com/itarato/Kitten (Lightweight Drupal Services Flash library)● https://github.com/workhabitinc/drupal-ios-sdk● http://vimeo.com/22635252 (DIOS Rest video)● https://github.com/eczarny/xmlrpc (iOS XMLRPC lib)
  34. 34. Thank you ^^ Questions?

×