drupal and communication
DESCRIPTION
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-RPCTRANSCRIPT
![Page 1: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/1.jpg)
Peter AratoFlex, Drupal, iOSPronovixhttp://itarato.blogspot.com/
![Page 2: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/2.jpg)
@itarato
![Page 3: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/3.jpg)
Drupal and communication
![Page 4: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/4.jpg)
![Page 5: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/5.jpg)
![Page 6: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/6.jpg)
jQuery + Ajax
![Page 7: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/7.jpg)
![Page 8: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/8.jpg)
●easy access●same origin policy
![Page 9: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/9.jpg)
cURL
![Page 10: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/10.jpg)
![Page 11: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/11.jpg)
●request from Drupal●plain text●submit data to 3rd party●highly customizable●parsing (XML)
![Page 12: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/12.jpg)
JSON
![Page 13: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/13.jpg)
●easy to use●flexible and concise format● lack of authentication
![Page 14: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/14.jpg)
OAuth
![Page 15: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/15.jpg)
![Page 16: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/16.jpg)
![Page 17: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/17.jpg)
![Page 18: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/18.jpg)
![Page 19: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/19.jpg)
![Page 20: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/20.jpg)
![Page 21: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/21.jpg)
![Page 22: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/22.jpg)
![Page 23: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/23.jpg)
![Page 24: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/24.jpg)
![Page 25: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/25.jpg)
https://dev.twitter.com/pages
/libraries
![Page 26: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/26.jpg)
●authentication●resource management●secure
![Page 27: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/27.jpg)
Drupal XML-RPC API
![Page 28: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/28.jpg)
XML-RPC
http://www.xmlrpc.com/spec
![Page 29: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/29.jpg)
![Page 30: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/30.jpg)
●easy access●lack of authentication●http://MYSITE/xmlrpc.php
![Page 31: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/31.jpg)
Flash object - JavaScript
![Page 32: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/32.jpg)
![Page 33: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/33.jpg)
![Page 34: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/34.jpg)
Services module
![Page 35: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/35.jpg)
Services V2 vs. V3
DEMO
![Page 36: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/36.jpg)
●Servers●Resources
![Page 37: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/37.jpg)
Servers
● XML-RPC● AMFPHP● REST● .. custom ...
![Page 38: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/38.jpg)
AMFPHP
http://community.silexlabs.org/amfphp
/documentation/
![Page 39: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/39.jpg)
RESThttp://en.wikipedia.org
/wiki/Representational_State_Transfer
![Page 40: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/40.jpg)
SERVER DEMO
XML-RPC server implementation
![Page 41: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/41.jpg)
Services (resources)
● System● Node● User● Comment● .. anything else ...
![Page 42: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/42.jpg)
SERVICE DEMO
Custom service implementation
![Page 43: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/43.jpg)
PYTHON ACCESS DEMO
![Page 44: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/44.jpg)
FLASH ACCESS DEMO
![Page 45: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/45.jpg)
OBJECTIVE-C DEMO
![Page 46: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/46.jpg)
Accessibility
![Page 47: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/47.jpg)
![Page 48: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/48.jpg)
SWFObject
● Dynamic Flash embedding● Flash object variables
![Page 49: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/49.jpg)
SWFAddress
● Deeplinking● History● State change notifications
![Page 50: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/50.jpg)
Ajax Load
![Page 51: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/51.jpg)
![Page 52: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/52.jpg)
![Page 53: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/53.jpg)
![Page 54: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/54.jpg)
![Page 55: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/55.jpg)
![Page 56: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/56.jpg)
![Page 57: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/57.jpg)
● 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)
![Page 58: Drupal and communication](https://reader033.vdocuments.us/reader033/viewer/2022052822/554bccc1b4c905706a8b486d/html5/thumbnails/58.jpg)
Thank you ^^Questions?