Eu odeio OpenSocial

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

    Favorites, Groups & Events

    Eu odeio OpenSocial - Presentation Transcript

    1. Eu odeio OpenSocial por Carlos Brando
    2. www.nomedojogo.com
    3. Agenda • O que é OpenSocial? • Por que OpenSocial? • Como funciona? • Quais são os problemas? • Coçando a minha coceira
    4. O que é?
    5. Por quê?
    6. • +350 milhões de usuários • +150 milhões de instalações • +5 mil aplicativos • +100 containers • +25 mil desenvolvedores • 10 milhões de acessos por dia
    7. Como?
    8. OpenSocial 0.8
    9. 1. Container
    10. 2. API JavaScript
    11. 2. API JavaScript Três áreas principais de funcionalidade: • Pessoas • Atividades • Persistência
    12. 3. API RESTful
    13. 4. XML
    14. 4. XML <?xml version="1.0" encoding="UTF-8" ?> <Module>  <ModulePrefs title="Standard gadget structure">   <Require feature="opensocial-0.8"/>  </ModulePrefs>  <Content type="html">  <![CDATA[       Olá galera do Rails for Kids!  ]]>  </Content> </Module>
    15. <?xml version="1.0" encoding="UTF-8" ?> 4. XML <Module>   <ModulePrefs title="List Friends Example">     <Require feature="opensocial-0.8"/>   </ModulePrefs>   <Content type="html">   <![CDATA[     <script type="text/javascript">       /**        * Request the OWNER and OWNER's friends.        */       function request() {         var idspec = opensocial.newIdSpec({ "userId" : "OWNER", "groupId" : "FRIENDS" });         var req = opensocial.newDataRequest();         req.add(req.newFetchPersonRequest(opensocial.IdSpec.PersonId.OWNER), "get_owner");         req.add(req.newFetchPeopleRequest(idspec), "get_friends");         req.send(response);       };       /**        * Parses the response and generates html to list the names of the owner and        * his or her friends.        *        * @param {Object} dataResponse Friend information that was requested.        */       function response(dataResponse) {         var owner = dataResponse.get('get_owner').getData();         var friends = dataResponse.get('get_friends').getData();         var html = 'Friends of ' + owner.getDisplayName();         html += ':<br><ul>';         friends.each(function(person) {           html += '<li>' + person.getDisplayName() + '</li>';         });         html += '</ul>';         document.getElementById('message').innerHTML = html;       };       // Execute the request function when the application is finished loading.       gadgets.util.registerOnLoadHandler(request);     </script>     <div id="message"> </div>   ]]>   </Content> </Module>
    16. Problemas?
    17. Instabilidade
    18. API RESTful Read Only
    19. XML
    20. XML • +1000 linhas • Dificuldade em dividir o trabalho • Dificuldade no design • Conflitos no código
    21. EU ODEIO OPENSOCIAL
    22. Coçando a minha própria coceira...
    23. Ruby on Rails Não era a resposta
    24. Framework Framework conceitual é um conjunto de conceitos usado para resolver um problema de um domínio
    25. CONTINUA...

    + eduardobrandoeduardobrando, 2 months ago

    custom

    1006 views, 0 favs, 5 embeds more stats

    Uma introdução ao OpenSocial com foco nos problem more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1006
      • 513 on SlideShare
      • 493 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 13
    Most viewed embeds
    • 479 views on http://www.nomedojogo.com
    • 11 views on http://www.rubyonrails.pro.br
    • 1 views on resource://brief-content
    • 1 views on http://renatocarvalho.com
    • 1 views on http://feeds.feedburner.com

    more

    All embeds
    • 479 views on http://www.nomedojogo.com
    • 11 views on http://www.rubyonrails.pro.br
    • 1 views on resource://brief-content
    • 1 views on http://renatocarvalho.com
    • 1 views on http://feeds.feedburner.com

    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