Interface Drupal with desktop or webapp via OAuth & REST

6,059 views

Published on

I gave this presention about "Interfacing Drupal with desktop or web app via OAuth & REST" on december 11th, 2009 at DrupalCamp Ghent.
It's a brief presentation of OAuth, REST and modules to do the job.

Published in: Technology
1 Comment
5 Likes
Statistics
Notes
  • Ok, I don't think the audio matches the presentation. Why is he talking about streaming and stuff when the presentation is on OAuth?
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
6,059
On SlideShare
0
From Embeds
0
Number of Embeds
38
Actions
Shares
0
Downloads
54
Comments
1
Likes
5
Embeds 0
No embeds

No notes for slide

Interface Drupal with desktop or webapp via OAuth & REST

  1. 1. Interface Drupal with Desktop or Web app via OAuth + Services Nicolas Froment (@lasconic) http://lasconic.com http://wikifonia.org http://musescore.org DrupalCamp Ghent December 11th, 2009
  2. 2. Why OAuth? Don't give your credentials to 3 rd parties But give them the right to act for you
  3. 3. USER Service provider Your drupal website Consumer application Mobile, web, desktop Do I need OAuth?
  4. 4. Open standard
  5. 5. Oauth 1.0a? April 2009 a security flaw found -> Twitter closed Oauth in the hour In less than a week -> Oauth 1.0a fixes the flaw Add a verify code to get an access token Not supported by Drupal (yet)
  6. 6. Example Sending audio rendition of a score made with MuseScore to Soundcloud
  7. 11. Two Drupal solutions Oauth module Great overview about OAuth Not-so-good design Work with the unpublished « Webservices » Number 3 ...
  8. 12. The Services Way A nicely designed pluggable framework Built around pre existing librairies (OAuth) Reusable & flexible Maintained and in development heyrocker Hugo Wetterberg marcingy
  9. 13. Services Pluggable framework for services and servers REST JSON SOAP XMLRPC AMF Node resources Node File System User Taxonomy Menu
  10. 15. ResourceNode Service + REST Server Provides a resource view on node
  11. 16. Oauth modules OAuth commons Wrapper around Oauth PHP lib Lib hosted at google code Services Oauth Link to Services
  12. 18. Drupal example Application mywebsite.com
  13. 19. Let developers create applications
  14. 22. References Oauth spec & security issues http://oauth.net Oauth library for PHP, Java, Ruby, Javascript... http://code.google.com/p/oauth/ Modules http://drupal.org/project/Services http://drupal.org/project/rest_server http://drupal.org/project/oauth_common http://drupal.org/project/services_oauth

×