2. Alfresco API & SDK
• What are we announcing?
– New public API for Alfresco in the Cloud
• Based on CMIS (AtomPub) and Alfresco REST
(JSON)
– Alfresco Mobile SDK
• iOS and Android client SDKs
• Wrap the new Cloud API and the existing on-
premise API
• Coming soon!
9. How OAuth2 Authentication Works
Application Alfresco End-User
Sign up for an Assigns you a
API key consumer key
and secret
Invokes the
Authorize URL Asks the user for
permission
User grants
access
Redirects to
Grabs the your app’s
returned code callback URL
Exchanges the
code for an
access token Returns an
access token
and expiration
Adds the token
Not shown: Refresh
to Authorization
header
after access token
expiration
11. Alfresco REST API
• Sites
– Members
– Favorites
• Networks List will expand
• People over time
• Containers
• Activities
• Ratings
• Comments
• Tags
13. What is CMIS?
• Content Management Interoperability
Services
• Language-independent, vendor-neutral API
for content management
– CRUD functions for nodes
– Check-in/check-out
– Associations
– Permissions (Access Control Lists)
– Policies
– Queries
– Repository traversal
14. The Beauty of CMIS
Presentation
Tier
REST SOAP
Content
Services Tier
?
Enterprise Apps
Tier
?
15. • Open Source implementations of CMIS
• Apache Chemistry is the umbrella project
for all CMIS related projects within the
ASF
– OpenCMIS (Java, client and server)
– cmislib (Python, client)
– phpclient (PHP, client)
– DotCMIS (.NET, client)
16. CMIS & Apache Chemistry in
Action
• Everything you need
to know about CMIS
1.0 & 1.1
• Lots of Groovy and
Java examples
• Also covers Python,
Android, & iOS
• Now on MEAP!
• 37%-off: 12cmisal
17. Example: Create, Find and
Comment on a Document with Java
Screenshot, TBD
http://youtu.be/1ZtmoPdCKJI
18. Things to Consider
• Rate limits
– 5 requests/second, 10,000 requests/day (Dev)
– 50 requests/second, 100,000 requests/day (Prod)
• No limit on # of applications
• Alfresco Cloud users own their content
• OpenCMIS 0.8.0-SNAPSHOT
• cmislib 0.5.1dev
19. Where to Get Help
• Alfresco API forum
• #alfresco on freenode IRC
• Alfresco Technical Discussion Google Group
• http://code.google.com/p/alfresco-api-java-
examples
• http://code.google.com/p/alfresco-api-python-
examples
• Come by the booth!
20. Your Next Steps
Cloud Account
Register App
Participate
Sign up for a
Become a Registered
Join our community of
free 10GB Alfresco
Developer at developers at
network in the cloud.
developer.alfresco.com
forums.alfresco.com,
in IRC, and on Twitter
Grab your app key and
secret
21. Berlin, Germany
San Jose, California
November 6 & 7
November 14 & 15
http://www.alfresco.com/devcon