1 / 16

RateMe 2.0

RateMe 2.0. 10-25 Slides. Konzept. RateMe 1.0. RateMe 2.0. Konzept. Suchen und Bewerten von Restaurants Mobile Webseite Benutzen von HTML5 Geolocation. Demonstration. Learnings. Qype API Oauth (API Authentication ) Google Maps API ( jQuery Plugin ) RESTful und Routes

niles
Download Presentation

RateMe 2.0

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. RateMe 2.0 10-25 Slides

  2. Konzept RateMe 1.0 RateMe 2.0

  3. Konzept • Suchen und Bewerten von Restaurants • Mobile Webseite • Benutzen von HTML5 Geolocation

  4. Demonstration

  5. Learnings • Qype API • Oauth (API Authentication) • Google MapsAPI (jQueryPlugin) • RESTful und Routes • User-generatedContent • Mobileapp

  6. Qype API • Liefert Standorte abhängig von • Adresse • Kategorie • Name • Geodaten • Bewertungen möglich • Bilder hochladen • Wird von Google verwendet

  7. OAuth

  8. http://farm2.static.flickr.com/1259/1092087510_d61a7dcc85_o.pnghttp://farm2.static.flickr.com/1259/1092087510_d61a7dcc85_o.png Warum Oauth?

  9. Password Anti-Pattern • Passwords are not confetti • Pleasestopthrowingthemaround

  10. Was ist Oauth? • Ein simpler offener Standard für sichere API Authentifizierung

  11. Oauth Begriffe • EndUser • ProtectedResource • Service Provider • Consumer • Tokens

  12. The Love Triangle Enduser Service Provider Consumer Application

  13. Oauth Flow

  14. Oauth Rails Code consumer = OAuth::Consumer.new('api_key', 'api_secret', { :site => "http://api.qype.com" })  request_token = consumer.get_request_token redirect_to @request_token.authorize_url access_token = request_token.get_access_token request = request_token.request(:get, ‚/place/1234')

  15. Demo • Need tologin • Login withserviceprovider • Authorize • Done

More Related