Microsoft released over at Codeplex the AMS (Office App Model Samples). It’s a collection of sample code and documentation for different app scenarios, this is the recommended way of doing these scenarios on Office365 (and on-premise SharePoint) .
I have had a quick look at some of the samples and this looks very good. There are very good code samples and what looks to be unusually good documentation 🙂
You should take a look at the samples at Codeplex and there is also a good PowerPoint presentation there describing the different samples. All in all I’m impressed by the quality of the documentation. Very good work by the people involved.
https://officeams.codeplex.com/
The scenarios covered by the samples is these:
Cloud based site collection provisioning
Creating site collections remotely using SP Apps in on-premises
Provision and integrate Yammer group into site provisioning
Manage and update theme settings in host web
Changing host web rendering with custom CSS
Site policy management with CSOM
Wiki page manipulation using CSOM
Site collection enumeration
Setting up Apps to Windows Azure with specific roles
People picker implementation for provider hosted app
Taxonomy picker implementation for provider hosted app
Utilization of JavaScript injection pattern to modify the UI for end users
Uploading of large files to SharePoint
Deploy branding to personal SkyDrive Pro sites automatically
Connect to and manipulate Office365 sites using console application
Provide custom template pattern for sub site creation
Manipulation of user profile properties remotely
Build sync of user profile properties in cloud
Taxonomy driven navigation control using JavaScript
Mass deployment of branding elements from console app
Hybrid self-service site collection provisioning – one UI for cloud and on-prem
Synchronization of user profile pictures from on-prem to SharePoint Online
Dynamic permission handling
Remote event receivers from host web