In this session, Brian will start by giving a quick overview of the services that Alfresco provides to support WCM scenarios and will then talk about two features that are new in 4.0: the File Transfer Receiver and Social Content Publishing. For each of these he will look at configuration options, accessing them programmatically, and extending them to provide custom behaviour. In addition, he will endeavour to answer any questions you may have. All this in just 50 minutes! Not to be missed.
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
WCM-1 Alfresco Content Services for WCM
1. Content Services for the Web!
What's new in 4.0?!
Brian Remmington
Product Architect, Alfresco
@brianremmington
2. In this session…!
• Overview of Alfresco content services for the web!
• Introduction to the File Transfer Receiver!
• Introduction to Social Content Publishing!
• Q&A!
3. Alfresco Content Services for the Web
Java Portal PHP Web Java WEM Custom App
Web Quick Start
or other
Use case: internal Use case: Use case: Use case:
or external web- Public website or Full Web Experience Home-grown web
based portal community site Management with application in PHP,
JSR-168 flexible delivery tier Spring MVC, Rails,
etc.
Full Featured
CMIS CMIS Integration RESTful APIs
Alfresco Platform
4. Alfresco Content Services for the Web
Tomorrow
3:10pm
Java Portal PHP Web
Mo-vate
Custom App
Java WEM
Today
2:00pm
Web Quick Start
or other
Mo-vate
Use case: internal Use case: Use case: Use case:
or external web- Public website or Full Web Experience Home-grown web
based portal community site Management with application in PHP,
JSR-168 flexible delivery tier Spring MVC, Rails,
etc.
Full Featured
CMIS CMIS Integration RESTful APIs
Alfresco Platform Tomorrow
10:00am
Mo-vate
Tomorrow
8:40am
Mo-vate
5. Content Services for the Web!
Control Content
• The most flexible, standards-compliant, open workflow engine in the
world!
• Rock-solid versioning and access control!
• Flexible content modelling with complete link integrity built in!
Transform Content
• The Rendition Service can transform content from and to a huge
number of formats – both binary and text!
• Completely extensible to support custom transforms!
Publish Content
• Transfer content to remote Alfresco repositories and file systems!
• Publish content to external platforms: Flickr, YouTube, SlideShare,
etc!
6. Content Services for the Web!
Control Content
• The most flexible, standards-compliant, open workflow engine in the
world! Today
5:10pm
• Rock-solid versioning and access control!
Mo-vate
• Flexible content modelling with complete link integrity built in!
Transform Content
• The Rendition Service can transform content from and to a huge
number of formats – both binary and text!
Today
from
3:10pm
• Completely extensible to support custom transforms!
Publish Content Imagine
• Transfer content to remote Alfresco repositories and file systems!
• Publish content to external platforms: Flickr, YouTube, SlideShare,
etc!
7. Whatʼs new in 4.0?!
The File Transfer Receiver
• Enables content in your Alfresco repository to be transferred to a
remote file system using the Transfer Service!
• Supports “sync-mode” transfer, so can also be used by the
Replication Service to replicate folders!
• Packaged as a standalone component that wraps an embedded
Tomcat 7 instance and an embedded DerbyDB!
• Can be redeployed into an existing JEE web container if preferred!
Alfresco
FTR
HTTP
10. File Transfer Receiver!
Listening and reacting to transfers
• Implement org.alfresco.repo.transfer.fsr.TransferListener!
• Override the definition of the bean “fileTransferListeners”:
<bean id="fileTransferListeners" class="java.util.ArrayList">
<constructor-arg>
<list>
<bean class="com.example.transfer.MyTransferListener" />
</list>
</constructor-arg>
</bean>
• Receive callbacks when files and folders are created, updated,
deleted, and moved.
11. Whatʼs New in 4.0?!
Social Content Publishing
• Publish content from your document libraries to external content
delivery services: Flickr, YouTube, and SlideShare out-of-the-box!
• Automatically post status updates to announce your newly published
content: Facebook, Twitter, and LinkedIn out-of-the-box!
• Define and manage your publishing channels in Share!
• Create and register your own custom publishing channel types!
Alfresco
13. Social Content Publishing!
Build your own channel types
• Designed as an extensible framework!
• Extend org.alfresco.repo.publishing.AbstractChannelType
• Use the six provided types as guides – these give examples of
OAuth1a, OAuth2, and proprietary authorisation and authentication
schemes!
• org.alfresco.repo.publishing.flickr.*
• org.alfresco.repo.publishing.facebook.*
• etc…!
• A channel type may optionally support publishing content, posting
status updates, and “unpublishing” content!
• Your channel type and its icons are automatically picked up by Share!
14. Social Content Publishing!!
Accessing it programmatically
• Using the Java API!
• ChannelService – manage channel types and channels!
• PublishingService – create and discover publishing events!
• Using the “publish-content” action (PublishContentActionExecuter)!
• Supports all the capabilities of the underlying publishing service including
scheduling, unpublishing, and posting status updates.!
• Various properties can be specified, such as:
“publish-channel-name”
“status-update”
“status-update-channel-names”
“include-link-in-status-update”
“scheduled-time”!