FOWA Miami 2009 - Y!OS

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Notes on slide 1

    - Social, Contacts, Updates, Status APIs

    - Social, Contacts, Updates, Status APIs

    - Social, Contacts, Updates, Status APIs

    - Social, Contacts, Updates, Status APIs

    - Social, Contacts, Updates, Status APIs

    - Social, Contacts, Updates, Status APIs

    - Social, Contacts, Updates, Status APIs

    - Social, Contacts, Updates, Status APIs

    - Social, Contacts, Updates, Status APIs

    - Social, Contacts, Updates, Status APIs

    - Social, Contacts, Updates, Status APIs

    - Social, Contacts, Updates, Status APIs

    - Social, Contacts, Updates, Status APIs

    - Social, Contacts, Updates, Status APIs

    - Social, Contacts, Updates, Status APIs

    - Social, Contacts, Updates, Status APIs

    - Social, Contacts, Updates, Status APIs

    - Social, Contacts, Updates, Status APIs

    - Social, Contacts, Updates, Status APIs

    - Social, Contacts, Updates, Status APIs

    - Social, Contacts, Updates, Status APIs

    - Social, Contacts, Updates, Status APIs

    - Social, Contacts, Updates, Status APIs

    - Social, Contacts, Updates, Status APIs

    - Social, Contacts, Updates, Status APIs

    - Social, Contacts, Updates, Status APIs

    - Social, Contacts, Updates, Status APIs

    Favorites, Groups & Events

    FOWA Miami 2009 - Y!OS - Presentation Transcript

    1. Scaling Open Jonathan LeBlanc – Technology Evangelist Yahoo! Developer Network – Partner Integrations Slides: http://www.slideshare.net/jleblanc/fowa-miami
      • YAP Applications What’s a YAP Application?
    2.  
    3.  
    4.  
    5.  
    6.  
    7.  
      • YAP Applications How do I get started?
      • Runs on YAP
      • Supports 2- & 3- legged OAuth
      • Supports OpenSocial 0.8 JavaScript APIs
      Open Applications
    8. Open Application - Views Small View Large View
    9. Open Application – Small View
    10. Open Application – Large View
      • http://developer.yahoo.com/dashboard
      • http://developer.yahoo.com/dashboard
    11.  
    12.  
    13.  
      • Runs off platform
      • Supports 2- & 3-legged OAuth
      • Does not contain views
      • Requires users to authenticate session
      OAuth Applications
      • http://developer.yahoo.com/dashboard
      • http://developer.yahoo.com/dashboard
    14.  
    15.  
    16.  
    17.  
    18.  
      • YAP Code Dive What can you do with YAP?
      • YAP Code Dive PHP SDK
    19. Used For: - Public user data and open APIs PHP SDK – 2-Legged OAuth Initialization
      • Used For:
      • Private data access
      PHP SDK – 3-Legged OAuth Initialization
    20. 3-Legged OAuth getSessionedUser (session) getOwner (session) getUser (session) query (session) getPresence (user) setPresence (user) listUpdates (user) listConnectionUpdates (user) insertUpdate (user) deleteUpdate (user) loadProfile (user) getConnections (user) getContacts (user) setSmallView (user) 2-Legged OAuth setSmallView (application) query (application) PHP SDK – Available Methods
    21. PHP SDK – Create a User Update
    22. PHP SDK – Set the Status of a User
      • YAP Code Dive Yahoo! Markup Language (YML)
    23. YML Tags (Large View) yml:a yml:ad yml:audio yml:form yml:friend-selector yml:if-env yml:message yml:name yml:profile-pic yml:pronoun yml:share yml:swf yml:user-badge   YML Lite Tags (Small View) yml:a yml:audio yml:form yml:if-env yml:name yml:profile-pic yml:pronoun yml:user-badge YML – Available Tags
    24. YML:A Tab Sample - Controller
    25. YML:A Tab Sample – Tab Construction
    26. YML:A Tab Sample - Product
    27. YML:A Small View Update Sample
    28. YML:A Small View Update Sample
      • YAP Code Dive Yahoo! Query Language (YQL)
    29. YQL – Running a Query
      • YAP Code Dive Caja
    30. Caja – JavaScript Before Cajoling
    31. Caja – JavaScript After Cajoling
    32. Caja - IFrame Security Concerns
      • IFrame Concerns
      • Drive-by downloads
      • No real content restrictions
      • Other known exploits
      • Caja Implementation
      • Blacklist all / Whitelist some model
      • Secure OpenSocial container
    33. Caja – Best Practices
      • Use OpenSocial JavaScript standards
      • Use W3C standards
      • Use YML wherever possible
      • Unit test all JavaScript
      • Read the documentation (http://developer.yahoo.com/yos)
      • Participate in the forums (http://developer.yahoo.net/forum/)
    34. Caja Practical – Running an AJAX Request
    35. Caja Practical – Working with JSON
    36. Caja Practical – Assigning Click Handlers
      • Caja client side sanitizer strips JavaScript when inserted in DOM following AJAX requests
      • How do I assign click handlers then?
      • Given: DOM Node with an ID
      • <div id=‘myClickDiv’>Click Me!</div>
    37. Caja Practical – Assigning Click Handlers Step 1 – Assign click handler after innerHTML is set
    38. Caja Practical – Assigning Click Handlers Step 2 – Define your callback function
      • YAP Code Dive Common Questions
      • I have an existing OpenSocial application. How do I get started?
      • I have an existing Facebook application. How do I get started?
      • How do I authenticate OAuth using JavaScript?
      • What is a Java Module Envelope error and how do I fix it?
      • Plans for other SDKs besides PHP and AS3?
      • How do users find my application?
      Common Questions – Q & A
      • Thank You Questions?

    + Jonathan LeBlancJonathan LeBlanc, 4 months ago

    custom

    140 views, 0 favs, 0 embeds more stats

    Future of web applications conference on Scaling Op more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 140
      • 140 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 0
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories