Books & Videos

Table of Contents

  1. Chapter 1 Social Application Container Core Concepts

    1. What Is a Social Application Container?

    2. Implementing Proprietary Versus Open Standards

    3. The Embedded Application: Building in a Black Box

    4. Embedded Application Security

    5. The External Application: Integrating Social Data Outside the Container

    6. Application Views

    7. Application Permission Concepts

    8. Client-Side Versus Server-Side Applications

    9. When Good Applications Go Bad

    10. Application Model Case Studies

    11. Quick-Start Tips

  2. Chapter 2 Mapping User Relationships with the Social Graph

    1. The Online Social Graph

    2. Applying the Real-Life Social Graph Online

    3. Sharing Private User Data: Opt-in Versus Opt-out

    4. Understanding Relationship Models

    5. Relationships Versus Entities

    6. Building Social Relevance: Exploring the Facebook Social Graph

    7. Defining Entity Likes and Dislikes Through the OpenLike Protocol

    8. Conclusion

  3. Chapter 3 Constructing the Foundation of a Social Application Platform

    1. What You’ll Learn

    2. Apache Shindig

    3. Setting Up Shindig

    4. Partuza

    5. The OpenSocial Gadget XML Specification

    6. Configuring Your Application with ModulePrefs

    7. Defining User Preferences

    8. Application Content

    9. Putting It All Together

  4. Chapter 4 Defining Features with OpenSocial JavaScript References

    1. What You’ll Learn

    2. Including the OpenSocial Feature JavaScript Libraries

    3. Dynamically Setting the Height of a Gadget View

    4. Inserting Flash Movies in Your Gadget

    5. Displaying Messages to Your Users

    6. Saving State with User Preferences

    7. Setting Your Gadget Title Programmatically

    8. Integrating a Tabbed Gadget User Interface

    9. Extending Shindig with Your Own JavaScript Libraries

    10. Putting It All Together

  5. Chapter 5 Porting Applications, Profiles, and Friendships

    1. What You’ll Learn

    2. Evaluating OpenSocial Container Support

    3. Core Components of the OpenSocial Specification

    4. Cross-Container Development and Porting

    5. Porting Applications from Facebook to OpenSocial

    6. Personalizing Applications with Profile Data

    7. Using Friendships to Increase Your Audience

    8. Putting It All Together

  6. Chapter 6 OpenSocial Activities, Sharing, and Data Requests

    1. What You’ll Learn

    2. Promoting Your Applications with OpenSocial Activities

    3. Direct Sharing Versus Passive Sharing

    4. Making AJAX and External Data Requests

    5. Putting It All Together

  7. Chapter 7 Advanced OpenSocial and OpenSocial Next

    1. What You’ll Learn

    2. Data Pipelining

    3. OpenSocial Templating

    4. A Few More Tags: The OpenSocial Markup Language

    5. Localization Support with Message Bundles

    6. The OpenSocial REST API Libraries

    7. OpenSocial Next: Areas of Exploration

    8. OpenSocial and Distributed Web Frameworks

    9. Putting It All Together

  8. Chapter 8 Social Application Security Concepts

    1. What You’ll Learn

    2. Hosting Third-Party Code Through iframes

    3. A Secure Approach: The Caja Project

    4. Why Use Caja?

    5. Attack Vectors: How Caja Protects

    6. Setting Up Caja

    7. Cajoling Scripts from the Command Line

    8. Running Caja from a Web Application

    9. Running Caja with an OpenSocial Gadget

    10. Using JSLint to Spot JavaScript Issues Early

    11. Playing in the Caja Playground

    12. Tips for Working in a Caja Environment

    13. A Lighter Alternative to Caja: ADsafe

    14. ADsafe Versus Caja: Which One Should You Use?

    15. How to Implement ADsafe

    16. Putting It All Together

    17. Conclusion

  9. Chapter 9 Securing Social Graph Access with OAuth

    1. Beyond Basic Auth

    2. The OAuth 1.0a Standard

    3. OAuth 2

    4. Conclusion

  10. Chapter 10 The Future of Social: Defining Social Entities Through Distributed Web Frameworks

    1. What You’ll Learn

    2. The Open Graph Protocol: Defining Web Pages As Social Entities

    3. Activity Streams: Standardizing Social Activities

    4. WebFinger: Expanding the Social Graph Through Email Addresses

    5. OExchange: Building a Social Sharing Graph

    6. PubSubHubbub: Content Syndication

    7. The Salmon Protocol: Unification of Conversation Entities

    8. Conclusion

  11. Chapter 11 Extending Your Social Graph with OpenID

    1. The OpenID Standard

    2. Do I Already Have an OpenID? How Do I Sign Up for One?

    3. The OpenID Authentication Flow

    4. OpenID Providers

    5. Bypassing Domain Discovery Errors in OpenID

    6. OpenID Extensions

    7. Implementation Example: OpenID

    8. Common Errors and Debugging Techniques

    9. Conclusion

  12. Chapter 12 Delivering User-Centric Experiences with Hybrid Auth

    1. The OpenID OAuth Hybrid Extension

    2. When Should I Use OpenID Versus Hybrid Auth?

    3. The OpenID OAuth Hybrid Auth Flow

    4. Implementation Example: OpenID, OAuth, and Yahoo!

    5. Conclusion

  1. Appendix Web Development Core Concepts

    1. A Brief Tour of Open Source Standards

    2. Web Service APIs

    3. HTTP Response Status Codes

    4. Understanding the Same-Origin Policy

    5. REST Requests

    6. Microformats and the Semantic Web

    7. Installing Subversion (SVN)

    8. Installing Apache HTTP Server

    9. Setting Up Your PHP Environment

    10. Setting Up Your Python Environment

  2. Glossary

  3. Colophon