Putting It All Together
Note
The full code for this sample is available at https://github.com/jcleblanc/programming-social-applications/blob/master/chapter_4/chapter_final.xml.
At this point, you should now have Shindig set up to host OpenSocial gadgets and understand the XML markup that is used as the foundation for defining those gadgets. You may have also installed Partuza to see the architecture of a full end-to-end social networking container. Let’s combine all of these lessons to create a real gadget using our Shindig installation and OpenSocial gadget knowledge.
We will integrate the following OpenSocial concepts and techniques in our gadget:
Building a gadget XML spec, including using views
Setting and getting user state information with user preferences
Building tabs using the OpenSocial
tabslibraryDisplaying messages with the OpenSocial
minimessagelibrary
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access