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
tabs
libraryDisplaying messages with the OpenSocial
minimessage
library
Get Programming Social Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.