content channel and page providers magnus stråle and paul smith, episerver ab

15
Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB

Upload: meagan-jenkins

Post on 29-Dec-2015

213 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB

Content Channel and Page Providers

Magnus Stråle and Paul Smith, EPiServer AB

Page 2: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB

Agenda

» Background

» SharePoint Connector

» Content Channel

» Page Providers

» Summary

Page 3: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB

Background

» Content Channel

- Developed as part of SharePoint Connector

- A traditional Web service

- Import pages and files

- Allow one-way updating

- Requires configuration

- Delivered in EPiServer CMS 5 SP1

Page 4: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB

Background

» Page Providers

- Full-featured integration

- Data resides in original store

- Pages only

- LocalPageProvider & RemotePageProvider

- Requires coding and configuration

- A true provider implementation

- Sample code - XMLPageProvider

Page 5: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB

SharePoint Connector

» Targets Windows SharePoint Services (WSS)

» Import data from SharePoint

» One-way communication initiated from SharePoint

» Handle updated information

» No support for access rights

» GUI for configuration

Page 6: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB

Content Channel Client

» Content Channel designed for custom use

» ”Roll your own” client

» Import Web Service in Visual Studio...and add code

Page 7: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB

Demo

» Custom Content Channel Client

Page 8: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB

Page Providers Background

» Originated as a technology experiment

» You may have heard of Custom Page Store...which has been renamed to Page Providers

Page 9: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB

PageProviderBase

Local PPCustom

PP

Remote PP

DataFactory

Page Providers

Remote EPiServer

EPiServer Database

Page 10: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB

Page Providers Implementation

» Information maps to/from PageData objects

» Information always presented as a local page type

» Supports all EPiServer CMS features

- Versioning, Multi-language, Access rights, Editing and more

» Configuration to support a subset of features

» Permanent Link mapping support is required

» Move between Page Providers

» GUI changes

Page 11: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB

Demo

» Page Provider Capabilities

» XML Page Provider

Page 12: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB

Remote Page Provider

» Old ”Remote site” concept replaced by Remote Page Provider

» Remote PP communicates with a Remote Page Provider Service

» Service implemented with WCF

» Optimized data transfer

- No page type overhead

- Use TCP/IP transport for maximum perf

- Use HTTP transport to cross firewalls

» Flexible security model

Page 13: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB

IMPORTANT!

» Page Providers use the RemoteSite property of PageReference

» Always use complete PageReference objects as parameters

» DO NOT simply pass the page ID

» When serializing use PageReference.ToString()

» When deserializing use PageReference.Parse() or PageReference.TryParse()

Page 14: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB

Summary

Content Channel Page Providers

Import data to EPiServer CMS db Data in original store

Pages and files Pages only

Web service Any type of communication

Modify data on import Any kind of manipulation

Available today Ships with EPiServer CMS 5 R2

Page 15: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB

Questions?