Upload
alfresco-software
View
2.051
Download
1
Embed Size (px)
DESCRIPTION
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.
Citation preview
Content Services for the Web!What's new in 4.0?!
Brian Remmington Product Architect, Alfresco @brianremmington
In this session…!
• Overview of Alfresco content services for the web!• Introduction to the File Transfer Receiver!• Introduction to Social Content Publishing!• Q&A!
Alfresco Content Services for the Web
CMIS RESTful APIs Full Featured Integration CMIS
Use case: internal or external web-
based portal JSR-168
Use case: Public website or community site
Use case: Full Web Experience Management with flexible delivery tier
Use case: Home-grown web application in PHP, Spring MVC, Rails,
etc.
Alfresco Platform
Web Quick Start or other
Java Portal PHP Web Java WEM Custom App
Alfresco Content Services for the Web
RESTful APIs Full Featured Integration CMIS
Use case: internal or external web-
based portal JSR-168
Use case: Public website or community site
Use case: Full Web Experience Management with flexible delivery tier
Use case: Home-grown web application in PHP, Spring MVC, Rails,
etc.
Alfresco Platform
Web Quick Start or other
Java Portal PHP Web Java WEM Custom App
CMIS
Tomorrow 8:40am Mo-vate
Tomorrow 10:00am Mo-vate
Today 2:00pm Mo-vate
Tomorrow 3:10pm Mo-vate
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!
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!
Today from 3:10pm Imagine
Today 5:10pm Mo-vate
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
Seeing It Work!
File Transfer Receiver!
Configuration • ftr-launcher.properties!
• ftr.tomcat.baseDir=${user.dir}!• ftr.tomcat.portNum=9090!
• ftr-custom.properties!• fileTransferReceiver.stagingDirectory=./ftr-staging!• fileTransferReceiver.rootDirectory=./ftr-root!• fileTransferReceiver.jdbcUrl=jdbc:derby:./
derbyDB;create=true;user=alfresco;password=alfresco!• fileTransferReceiver.username=admin!• fileTransferReceiver.password=admin!
• ftr-custom-context.xml!• Add / override Spring beans in here!
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.
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
Seeing It Work!
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!
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”!
Questions?!
@brianremmington forums.alfresco.com