Nuxeo allows leveraging the OpenSocial standard within its platform. OpenSocial is a common standard used in enterprises that allows for easy development through HTTP, XML, JavaScript and RESTful APIs. Nuxeo includes both a full GWT container and a lightweight JavaScript container for simple gadget integration. It supports OAuth authentication and uses the OpenSocial standard, allowing gadgets from other containers like iGoogle to be used. Nuxeo also provides an automation JavaScript library and templates to simplify building gadgets that interface with the Nuxeo platform.
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Nuxeo - OpenSocial
1. Nuxeo - OpenSocial
Leveraging OpenSocial within
the Nuxeo Platorm
2011 - Thomas Roger - troger@nuxeo.com - @throger
Open Source ECM
2. Why OpenSocial?
Common standard used in the enterprise
Easy for developers
HTTP, XML, HTML, JavaScript and RESTful APIs
Gadgets as reusable blocks
2
3. GWT Container
Contributed by Leroy Merlin
Apache Shindig + GWT2
Easier to integrate in your application
Lighter & faster!
3
5. GWT Container
Create your own dashboard
Implement a new SpaceProvider
MySpaceProvider extends AbstractSpaceProvider { ... }
5
6. GWT Container
Create your own dashboard
Implement a new SpaceProvider
MySpaceProvider extends AbstractSpaceProvider { ... }
Contribute it
<extension
target="org.nuxeo.ecm.spaces.core.spacemanager.service
point="spaceProviders">
<spaceProvider name="mySpaceProvider">
<class>org.nuxeo.sample.MySpaceProvider</class>
</spaceProvider>
6
</extension>
7. GWT Container
Use it in your page
<nxu:set var="repositoryName"
value="#{navigationContext.currentServerLocation.name}">
<nxu:set var="spaceProviderName"
value="mySpaceProvider">
<ui:decorate
template="/incl/opensocial_container_template.xhtml">
</ui:decorate>
</nxu:set>
</nxu:set>
7
8. Lightweight Container
Why?
Simple gadget integration
Static positioning in the page
How?
JS container from Apache Shindig
jQuery plugin available
Simple to use! 8
13. OAuth
Nuxeo supports OAuth authentication
Connect to third party services supporting
OAuth, like Google Docs
OAuth authentication in gadgets
<ModulePrefs>
<#include "default-oauth-prefs.ftl"/>
</ModulePrefs>
13
14. Following the Standard
Most of our gadgets are fully OpenSocial
Work on other OpenSocial containers:
iGoogle, JIRA, ...
Nuxeo can use external gadgets (those
available on iGoogle for instance)
14