Interface Drupal with desktop or webapp via OAuth & REST

  • 5,453 views
Uploaded on

I gave this presention about "Interfacing Drupal with desktop or web app via OAuth & REST" on december 11th, 2009 at DrupalCamp Ghent. …

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.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
  • Ok, I don't think the audio matches the presentation. Why is he talking about streaming and stuff when the presentation is on OAuth?
    Are you sure you want to
    Your message goes here
No Downloads

Views

Total Views
5,453
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
50
Comments
1
Likes
5

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 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. Why OAuth? Don't give your credentials to 3 rd parties But give them the right to act for you
  • 3. USER Service provider Your drupal website Consumer application Mobile, web, desktop Do I need OAuth?
  • 4. Open standard
  • 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. Example Sending audio rendition of a score made with MuseScore to Soundcloud
  • 7.  
  • 8.  
  • 9.  
  • 10.  
  • 11. Two Drupal solutions Oauth module Great overview about OAuth Not-so-good design Work with the unpublished « Webservices » Number 3 ...
  • 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
  • 13. Services Pluggable framework for services and servers REST JSON SOAP XMLRPC AMF Node resources Node File System User Taxonomy Menu
  • 14.  
  • 15. ResourceNode Service + REST Server Provides a resource view on node
  • 16. Oauth modules OAuth commons Wrapper around Oauth PHP lib Lib hosted at google code Services Oauth Link to Services
  • 17.  
  • 18. Drupal example Application mywebsite.com
  • 19. Let developers create applications
  • 20.  
  • 21.  
  • 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