Transcript
Page 1: WCM-1 Alfresco Content Services for WCM

Content Services for the Web!What's new in 4.0?!

Brian Remmington Product Architect, Alfresco @brianremmington

Page 2: WCM-1 Alfresco Content Services for WCM

In this session…!

•  Overview of Alfresco content services for the web!•  Introduction to the File Transfer Receiver!•  Introduction to Social Content Publishing!•  Q&A!

Page 3: WCM-1 Alfresco Content Services for WCM

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

Page 4: WCM-1 Alfresco Content Services for WCM

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  

Page 5: WCM-1 Alfresco Content Services for WCM

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!

Page 6: WCM-1 Alfresco Content Services for WCM

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  

Page 7: WCM-1 Alfresco Content Services for WCM

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

Page 8: WCM-1 Alfresco Content Services for WCM

Seeing It Work!

Page 9: WCM-1 Alfresco Content Services for WCM

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!

Page 10: WCM-1 Alfresco Content Services for WCM

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.

Page 11: WCM-1 Alfresco Content Services for WCM

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  

Page 12: WCM-1 Alfresco Content Services for WCM

Seeing It Work!

Page 13: WCM-1 Alfresco Content Services for WCM

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!

Page 14: WCM-1 Alfresco Content Services for WCM

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”!

Page 15: WCM-1 Alfresco Content Services for WCM

Questions?!

@brianremmington forums.alfresco.com


Top Related