41
The 3-Tier Architecture

Ektron 3-Tier Architecture

Embed Size (px)

DESCRIPTION

Learn how Ektron supports a true 3 Tier Architecture to provide increased scalability, security, and availability.

Citation preview

Page 1: Ektron 3-Tier Architecture

The 3-Tier Architecture

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

AGENDA amp OVERVIEW

bull Whatrsquos New in 85 3-Tier Architecturebull Benefits Scalability Performance

Security Availabilitybull Ektron in a 3-Tier Architecture

ndash Installation amp Configurationndash Developer Experience

bull Framework API New API in v85bull Framework UI Templated NET Server Controls

ndash Implementing your Service Layer

bull Demo

THE WHATrsquoS amp WHYrsquoSwhat is the 3-tier architecture and are its benefitshellip

1Tier 2Tier 3Tier nTier

1-TIER ARCHITECTURE

bull Mainframesbull Single Machinebull Dumb Terminal

accessbull Prondash Simple

bull Conndash Expensivendash Tightly coupled

2-TIER ARCHITECTURE

bull Clientndash UI Resources

Aqcuisition Business Rules

bull Serverndash Data storage shared

function

bull Prosndash Shared resources

bull Consndash Managing connections

Ineffecient utilization

3-TIER ARCHITECTURE

bull Presentation Tierndash Front Endndash Display Tier

bull Middle Tierndash Application

Server

bull Data Tierndash Storage Server

BENEFITS OF THIS ARCHITECTURE

bullSecuritybullScalabilitybullPerformancebullAvailability

SECURITY

bull Publically accessible Presentation-Tier has no direct access to Data-Tier

bull Business Logic contained win Middle-Tier isolated

bull Structure of database hidden from Presentation-Tier

SCALABILITYbull Each tier

independently scales horizontally

bull Scale Presentation-Tier to handle connections

bull Free database to handle database transactions

PERFORMANCEbull Cache requests

between FE amp MT ndash Serve data from

memoryndash Minimize network

utilizationndash Reduce MT and DT

load

bull Load Balancing possible at each tier

AVAILABILITYbull Redundancy of

presentation-Tier and Middle-Tier servers for failover

bull Caching between FE amp MT means system continues to serve content if Middle-Tier unavailable

EKTRON amp 3-TIERwhat ektron looks like in a 3-tier architecture

EKTRON STILL SUPPORT 2-TIER

bull You can upgrade from lt 85 to 85ndash This is supported and will continue to workndash Upgraded site will be 2-Tierndash Upgrading to 85 does NOT make your site ldquo3-Tierrdquo

bull You can develop a new site on v85 using 2-Tierndash Standard approach for building a website

bull You can develop a new site on v85 using 3-Tier

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSION 85

VERSION 85

GOING DEEPER INTO EKTRON 3-TIER

MIDDLE-TIER FOOTPRINT

Full Ektron Installation on Middle-Tierbull Ektron DLLsbull Ektron Workareabull Ektron Windows Servicesbull Ektron WCF Servicesbull Custom WCF Services

PRESENTATION-TIER FOOTPRINT

Minimal Footprint on Front-Endbull Standard ASPNET Web sitebull Minimal set of EktronDLLs in ~binbull Configuration files (webconfig unityconfig)bull Workarea not required

DEVELOPER EXPERIENCE

Developer Experience on Front-Endbull Use Framework API amp databindbull Use Templated Server Controlsbull No difference in developer experience between the

2-Tier and 3-tier architecturesbull Same exact code syntax

UNITY ndash DEPENDENCY INJECTION

Unity Application Block ndash Dependency injection framework Part of MS Enterprise Librarybull Dynamically register dependencies at runtimebull Introduction to Unity httpmsdnmicrosoftcomen-

uslibrarydd203319aspx bull Single unityconfig on Front-End servers

DEREK SLIDE

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 2: Ektron 3-Tier Architecture

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

AGENDA amp OVERVIEW

bull Whatrsquos New in 85 3-Tier Architecturebull Benefits Scalability Performance

Security Availabilitybull Ektron in a 3-Tier Architecture

ndash Installation amp Configurationndash Developer Experience

bull Framework API New API in v85bull Framework UI Templated NET Server Controls

ndash Implementing your Service Layer

bull Demo

THE WHATrsquoS amp WHYrsquoSwhat is the 3-tier architecture and are its benefitshellip

1Tier 2Tier 3Tier nTier

1-TIER ARCHITECTURE

bull Mainframesbull Single Machinebull Dumb Terminal

accessbull Prondash Simple

bull Conndash Expensivendash Tightly coupled

2-TIER ARCHITECTURE

bull Clientndash UI Resources

Aqcuisition Business Rules

bull Serverndash Data storage shared

function

bull Prosndash Shared resources

bull Consndash Managing connections

Ineffecient utilization

3-TIER ARCHITECTURE

bull Presentation Tierndash Front Endndash Display Tier

bull Middle Tierndash Application

Server

bull Data Tierndash Storage Server

BENEFITS OF THIS ARCHITECTURE

bullSecuritybullScalabilitybullPerformancebullAvailability

SECURITY

bull Publically accessible Presentation-Tier has no direct access to Data-Tier

bull Business Logic contained win Middle-Tier isolated

bull Structure of database hidden from Presentation-Tier

SCALABILITYbull Each tier

independently scales horizontally

bull Scale Presentation-Tier to handle connections

bull Free database to handle database transactions

PERFORMANCEbull Cache requests

between FE amp MT ndash Serve data from

memoryndash Minimize network

utilizationndash Reduce MT and DT

load

bull Load Balancing possible at each tier

AVAILABILITYbull Redundancy of

presentation-Tier and Middle-Tier servers for failover

bull Caching between FE amp MT means system continues to serve content if Middle-Tier unavailable

EKTRON amp 3-TIERwhat ektron looks like in a 3-tier architecture

EKTRON STILL SUPPORT 2-TIER

bull You can upgrade from lt 85 to 85ndash This is supported and will continue to workndash Upgraded site will be 2-Tierndash Upgrading to 85 does NOT make your site ldquo3-Tierrdquo

bull You can develop a new site on v85 using 2-Tierndash Standard approach for building a website

bull You can develop a new site on v85 using 3-Tier

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSION 85

VERSION 85

GOING DEEPER INTO EKTRON 3-TIER

MIDDLE-TIER FOOTPRINT

Full Ektron Installation on Middle-Tierbull Ektron DLLsbull Ektron Workareabull Ektron Windows Servicesbull Ektron WCF Servicesbull Custom WCF Services

PRESENTATION-TIER FOOTPRINT

Minimal Footprint on Front-Endbull Standard ASPNET Web sitebull Minimal set of EktronDLLs in ~binbull Configuration files (webconfig unityconfig)bull Workarea not required

DEVELOPER EXPERIENCE

Developer Experience on Front-Endbull Use Framework API amp databindbull Use Templated Server Controlsbull No difference in developer experience between the

2-Tier and 3-tier architecturesbull Same exact code syntax

UNITY ndash DEPENDENCY INJECTION

Unity Application Block ndash Dependency injection framework Part of MS Enterprise Librarybull Dynamically register dependencies at runtimebull Introduction to Unity httpmsdnmicrosoftcomen-

uslibrarydd203319aspx bull Single unityconfig on Front-End servers

DEREK SLIDE

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 3: Ektron 3-Tier Architecture

AGENDA amp OVERVIEW

bull Whatrsquos New in 85 3-Tier Architecturebull Benefits Scalability Performance

Security Availabilitybull Ektron in a 3-Tier Architecture

ndash Installation amp Configurationndash Developer Experience

bull Framework API New API in v85bull Framework UI Templated NET Server Controls

ndash Implementing your Service Layer

bull Demo

THE WHATrsquoS amp WHYrsquoSwhat is the 3-tier architecture and are its benefitshellip

1Tier 2Tier 3Tier nTier

1-TIER ARCHITECTURE

bull Mainframesbull Single Machinebull Dumb Terminal

accessbull Prondash Simple

bull Conndash Expensivendash Tightly coupled

2-TIER ARCHITECTURE

bull Clientndash UI Resources

Aqcuisition Business Rules

bull Serverndash Data storage shared

function

bull Prosndash Shared resources

bull Consndash Managing connections

Ineffecient utilization

3-TIER ARCHITECTURE

bull Presentation Tierndash Front Endndash Display Tier

bull Middle Tierndash Application

Server

bull Data Tierndash Storage Server

BENEFITS OF THIS ARCHITECTURE

bullSecuritybullScalabilitybullPerformancebullAvailability

SECURITY

bull Publically accessible Presentation-Tier has no direct access to Data-Tier

bull Business Logic contained win Middle-Tier isolated

bull Structure of database hidden from Presentation-Tier

SCALABILITYbull Each tier

independently scales horizontally

bull Scale Presentation-Tier to handle connections

bull Free database to handle database transactions

PERFORMANCEbull Cache requests

between FE amp MT ndash Serve data from

memoryndash Minimize network

utilizationndash Reduce MT and DT

load

bull Load Balancing possible at each tier

AVAILABILITYbull Redundancy of

presentation-Tier and Middle-Tier servers for failover

bull Caching between FE amp MT means system continues to serve content if Middle-Tier unavailable

EKTRON amp 3-TIERwhat ektron looks like in a 3-tier architecture

EKTRON STILL SUPPORT 2-TIER

bull You can upgrade from lt 85 to 85ndash This is supported and will continue to workndash Upgraded site will be 2-Tierndash Upgrading to 85 does NOT make your site ldquo3-Tierrdquo

bull You can develop a new site on v85 using 2-Tierndash Standard approach for building a website

bull You can develop a new site on v85 using 3-Tier

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSION 85

VERSION 85

GOING DEEPER INTO EKTRON 3-TIER

MIDDLE-TIER FOOTPRINT

Full Ektron Installation on Middle-Tierbull Ektron DLLsbull Ektron Workareabull Ektron Windows Servicesbull Ektron WCF Servicesbull Custom WCF Services

PRESENTATION-TIER FOOTPRINT

Minimal Footprint on Front-Endbull Standard ASPNET Web sitebull Minimal set of EktronDLLs in ~binbull Configuration files (webconfig unityconfig)bull Workarea not required

DEVELOPER EXPERIENCE

Developer Experience on Front-Endbull Use Framework API amp databindbull Use Templated Server Controlsbull No difference in developer experience between the

2-Tier and 3-tier architecturesbull Same exact code syntax

UNITY ndash DEPENDENCY INJECTION

Unity Application Block ndash Dependency injection framework Part of MS Enterprise Librarybull Dynamically register dependencies at runtimebull Introduction to Unity httpmsdnmicrosoftcomen-

uslibrarydd203319aspx bull Single unityconfig on Front-End servers

DEREK SLIDE

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 4: Ektron 3-Tier Architecture

THE WHATrsquoS amp WHYrsquoSwhat is the 3-tier architecture and are its benefitshellip

1Tier 2Tier 3Tier nTier

1-TIER ARCHITECTURE

bull Mainframesbull Single Machinebull Dumb Terminal

accessbull Prondash Simple

bull Conndash Expensivendash Tightly coupled

2-TIER ARCHITECTURE

bull Clientndash UI Resources

Aqcuisition Business Rules

bull Serverndash Data storage shared

function

bull Prosndash Shared resources

bull Consndash Managing connections

Ineffecient utilization

3-TIER ARCHITECTURE

bull Presentation Tierndash Front Endndash Display Tier

bull Middle Tierndash Application

Server

bull Data Tierndash Storage Server

BENEFITS OF THIS ARCHITECTURE

bullSecuritybullScalabilitybullPerformancebullAvailability

SECURITY

bull Publically accessible Presentation-Tier has no direct access to Data-Tier

bull Business Logic contained win Middle-Tier isolated

bull Structure of database hidden from Presentation-Tier

SCALABILITYbull Each tier

independently scales horizontally

bull Scale Presentation-Tier to handle connections

bull Free database to handle database transactions

PERFORMANCEbull Cache requests

between FE amp MT ndash Serve data from

memoryndash Minimize network

utilizationndash Reduce MT and DT

load

bull Load Balancing possible at each tier

AVAILABILITYbull Redundancy of

presentation-Tier and Middle-Tier servers for failover

bull Caching between FE amp MT means system continues to serve content if Middle-Tier unavailable

EKTRON amp 3-TIERwhat ektron looks like in a 3-tier architecture

EKTRON STILL SUPPORT 2-TIER

bull You can upgrade from lt 85 to 85ndash This is supported and will continue to workndash Upgraded site will be 2-Tierndash Upgrading to 85 does NOT make your site ldquo3-Tierrdquo

bull You can develop a new site on v85 using 2-Tierndash Standard approach for building a website

bull You can develop a new site on v85 using 3-Tier

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSION 85

VERSION 85

GOING DEEPER INTO EKTRON 3-TIER

MIDDLE-TIER FOOTPRINT

Full Ektron Installation on Middle-Tierbull Ektron DLLsbull Ektron Workareabull Ektron Windows Servicesbull Ektron WCF Servicesbull Custom WCF Services

PRESENTATION-TIER FOOTPRINT

Minimal Footprint on Front-Endbull Standard ASPNET Web sitebull Minimal set of EktronDLLs in ~binbull Configuration files (webconfig unityconfig)bull Workarea not required

DEVELOPER EXPERIENCE

Developer Experience on Front-Endbull Use Framework API amp databindbull Use Templated Server Controlsbull No difference in developer experience between the

2-Tier and 3-tier architecturesbull Same exact code syntax

UNITY ndash DEPENDENCY INJECTION

Unity Application Block ndash Dependency injection framework Part of MS Enterprise Librarybull Dynamically register dependencies at runtimebull Introduction to Unity httpmsdnmicrosoftcomen-

uslibrarydd203319aspx bull Single unityconfig on Front-End servers

DEREK SLIDE

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 5: Ektron 3-Tier Architecture

1Tier 2Tier 3Tier nTier

1-TIER ARCHITECTURE

bull Mainframesbull Single Machinebull Dumb Terminal

accessbull Prondash Simple

bull Conndash Expensivendash Tightly coupled

2-TIER ARCHITECTURE

bull Clientndash UI Resources

Aqcuisition Business Rules

bull Serverndash Data storage shared

function

bull Prosndash Shared resources

bull Consndash Managing connections

Ineffecient utilization

3-TIER ARCHITECTURE

bull Presentation Tierndash Front Endndash Display Tier

bull Middle Tierndash Application

Server

bull Data Tierndash Storage Server

BENEFITS OF THIS ARCHITECTURE

bullSecuritybullScalabilitybullPerformancebullAvailability

SECURITY

bull Publically accessible Presentation-Tier has no direct access to Data-Tier

bull Business Logic contained win Middle-Tier isolated

bull Structure of database hidden from Presentation-Tier

SCALABILITYbull Each tier

independently scales horizontally

bull Scale Presentation-Tier to handle connections

bull Free database to handle database transactions

PERFORMANCEbull Cache requests

between FE amp MT ndash Serve data from

memoryndash Minimize network

utilizationndash Reduce MT and DT

load

bull Load Balancing possible at each tier

AVAILABILITYbull Redundancy of

presentation-Tier and Middle-Tier servers for failover

bull Caching between FE amp MT means system continues to serve content if Middle-Tier unavailable

EKTRON amp 3-TIERwhat ektron looks like in a 3-tier architecture

EKTRON STILL SUPPORT 2-TIER

bull You can upgrade from lt 85 to 85ndash This is supported and will continue to workndash Upgraded site will be 2-Tierndash Upgrading to 85 does NOT make your site ldquo3-Tierrdquo

bull You can develop a new site on v85 using 2-Tierndash Standard approach for building a website

bull You can develop a new site on v85 using 3-Tier

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSION 85

VERSION 85

GOING DEEPER INTO EKTRON 3-TIER

MIDDLE-TIER FOOTPRINT

Full Ektron Installation on Middle-Tierbull Ektron DLLsbull Ektron Workareabull Ektron Windows Servicesbull Ektron WCF Servicesbull Custom WCF Services

PRESENTATION-TIER FOOTPRINT

Minimal Footprint on Front-Endbull Standard ASPNET Web sitebull Minimal set of EktronDLLs in ~binbull Configuration files (webconfig unityconfig)bull Workarea not required

DEVELOPER EXPERIENCE

Developer Experience on Front-Endbull Use Framework API amp databindbull Use Templated Server Controlsbull No difference in developer experience between the

2-Tier and 3-tier architecturesbull Same exact code syntax

UNITY ndash DEPENDENCY INJECTION

Unity Application Block ndash Dependency injection framework Part of MS Enterprise Librarybull Dynamically register dependencies at runtimebull Introduction to Unity httpmsdnmicrosoftcomen-

uslibrarydd203319aspx bull Single unityconfig on Front-End servers

DEREK SLIDE

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 6: Ektron 3-Tier Architecture

1-TIER ARCHITECTURE

bull Mainframesbull Single Machinebull Dumb Terminal

accessbull Prondash Simple

bull Conndash Expensivendash Tightly coupled

2-TIER ARCHITECTURE

bull Clientndash UI Resources

Aqcuisition Business Rules

bull Serverndash Data storage shared

function

bull Prosndash Shared resources

bull Consndash Managing connections

Ineffecient utilization

3-TIER ARCHITECTURE

bull Presentation Tierndash Front Endndash Display Tier

bull Middle Tierndash Application

Server

bull Data Tierndash Storage Server

BENEFITS OF THIS ARCHITECTURE

bullSecuritybullScalabilitybullPerformancebullAvailability

SECURITY

bull Publically accessible Presentation-Tier has no direct access to Data-Tier

bull Business Logic contained win Middle-Tier isolated

bull Structure of database hidden from Presentation-Tier

SCALABILITYbull Each tier

independently scales horizontally

bull Scale Presentation-Tier to handle connections

bull Free database to handle database transactions

PERFORMANCEbull Cache requests

between FE amp MT ndash Serve data from

memoryndash Minimize network

utilizationndash Reduce MT and DT

load

bull Load Balancing possible at each tier

AVAILABILITYbull Redundancy of

presentation-Tier and Middle-Tier servers for failover

bull Caching between FE amp MT means system continues to serve content if Middle-Tier unavailable

EKTRON amp 3-TIERwhat ektron looks like in a 3-tier architecture

EKTRON STILL SUPPORT 2-TIER

bull You can upgrade from lt 85 to 85ndash This is supported and will continue to workndash Upgraded site will be 2-Tierndash Upgrading to 85 does NOT make your site ldquo3-Tierrdquo

bull You can develop a new site on v85 using 2-Tierndash Standard approach for building a website

bull You can develop a new site on v85 using 3-Tier

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSION 85

VERSION 85

GOING DEEPER INTO EKTRON 3-TIER

MIDDLE-TIER FOOTPRINT

Full Ektron Installation on Middle-Tierbull Ektron DLLsbull Ektron Workareabull Ektron Windows Servicesbull Ektron WCF Servicesbull Custom WCF Services

PRESENTATION-TIER FOOTPRINT

Minimal Footprint on Front-Endbull Standard ASPNET Web sitebull Minimal set of EktronDLLs in ~binbull Configuration files (webconfig unityconfig)bull Workarea not required

DEVELOPER EXPERIENCE

Developer Experience on Front-Endbull Use Framework API amp databindbull Use Templated Server Controlsbull No difference in developer experience between the

2-Tier and 3-tier architecturesbull Same exact code syntax

UNITY ndash DEPENDENCY INJECTION

Unity Application Block ndash Dependency injection framework Part of MS Enterprise Librarybull Dynamically register dependencies at runtimebull Introduction to Unity httpmsdnmicrosoftcomen-

uslibrarydd203319aspx bull Single unityconfig on Front-End servers

DEREK SLIDE

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 7: Ektron 3-Tier Architecture

2-TIER ARCHITECTURE

bull Clientndash UI Resources

Aqcuisition Business Rules

bull Serverndash Data storage shared

function

bull Prosndash Shared resources

bull Consndash Managing connections

Ineffecient utilization

3-TIER ARCHITECTURE

bull Presentation Tierndash Front Endndash Display Tier

bull Middle Tierndash Application

Server

bull Data Tierndash Storage Server

BENEFITS OF THIS ARCHITECTURE

bullSecuritybullScalabilitybullPerformancebullAvailability

SECURITY

bull Publically accessible Presentation-Tier has no direct access to Data-Tier

bull Business Logic contained win Middle-Tier isolated

bull Structure of database hidden from Presentation-Tier

SCALABILITYbull Each tier

independently scales horizontally

bull Scale Presentation-Tier to handle connections

bull Free database to handle database transactions

PERFORMANCEbull Cache requests

between FE amp MT ndash Serve data from

memoryndash Minimize network

utilizationndash Reduce MT and DT

load

bull Load Balancing possible at each tier

AVAILABILITYbull Redundancy of

presentation-Tier and Middle-Tier servers for failover

bull Caching between FE amp MT means system continues to serve content if Middle-Tier unavailable

EKTRON amp 3-TIERwhat ektron looks like in a 3-tier architecture

EKTRON STILL SUPPORT 2-TIER

bull You can upgrade from lt 85 to 85ndash This is supported and will continue to workndash Upgraded site will be 2-Tierndash Upgrading to 85 does NOT make your site ldquo3-Tierrdquo

bull You can develop a new site on v85 using 2-Tierndash Standard approach for building a website

bull You can develop a new site on v85 using 3-Tier

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSION 85

VERSION 85

GOING DEEPER INTO EKTRON 3-TIER

MIDDLE-TIER FOOTPRINT

Full Ektron Installation on Middle-Tierbull Ektron DLLsbull Ektron Workareabull Ektron Windows Servicesbull Ektron WCF Servicesbull Custom WCF Services

PRESENTATION-TIER FOOTPRINT

Minimal Footprint on Front-Endbull Standard ASPNET Web sitebull Minimal set of EktronDLLs in ~binbull Configuration files (webconfig unityconfig)bull Workarea not required

DEVELOPER EXPERIENCE

Developer Experience on Front-Endbull Use Framework API amp databindbull Use Templated Server Controlsbull No difference in developer experience between the

2-Tier and 3-tier architecturesbull Same exact code syntax

UNITY ndash DEPENDENCY INJECTION

Unity Application Block ndash Dependency injection framework Part of MS Enterprise Librarybull Dynamically register dependencies at runtimebull Introduction to Unity httpmsdnmicrosoftcomen-

uslibrarydd203319aspx bull Single unityconfig on Front-End servers

DEREK SLIDE

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 8: Ektron 3-Tier Architecture

3-TIER ARCHITECTURE

bull Presentation Tierndash Front Endndash Display Tier

bull Middle Tierndash Application

Server

bull Data Tierndash Storage Server

BENEFITS OF THIS ARCHITECTURE

bullSecuritybullScalabilitybullPerformancebullAvailability

SECURITY

bull Publically accessible Presentation-Tier has no direct access to Data-Tier

bull Business Logic contained win Middle-Tier isolated

bull Structure of database hidden from Presentation-Tier

SCALABILITYbull Each tier

independently scales horizontally

bull Scale Presentation-Tier to handle connections

bull Free database to handle database transactions

PERFORMANCEbull Cache requests

between FE amp MT ndash Serve data from

memoryndash Minimize network

utilizationndash Reduce MT and DT

load

bull Load Balancing possible at each tier

AVAILABILITYbull Redundancy of

presentation-Tier and Middle-Tier servers for failover

bull Caching between FE amp MT means system continues to serve content if Middle-Tier unavailable

EKTRON amp 3-TIERwhat ektron looks like in a 3-tier architecture

EKTRON STILL SUPPORT 2-TIER

bull You can upgrade from lt 85 to 85ndash This is supported and will continue to workndash Upgraded site will be 2-Tierndash Upgrading to 85 does NOT make your site ldquo3-Tierrdquo

bull You can develop a new site on v85 using 2-Tierndash Standard approach for building a website

bull You can develop a new site on v85 using 3-Tier

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSION 85

VERSION 85

GOING DEEPER INTO EKTRON 3-TIER

MIDDLE-TIER FOOTPRINT

Full Ektron Installation on Middle-Tierbull Ektron DLLsbull Ektron Workareabull Ektron Windows Servicesbull Ektron WCF Servicesbull Custom WCF Services

PRESENTATION-TIER FOOTPRINT

Minimal Footprint on Front-Endbull Standard ASPNET Web sitebull Minimal set of EktronDLLs in ~binbull Configuration files (webconfig unityconfig)bull Workarea not required

DEVELOPER EXPERIENCE

Developer Experience on Front-Endbull Use Framework API amp databindbull Use Templated Server Controlsbull No difference in developer experience between the

2-Tier and 3-tier architecturesbull Same exact code syntax

UNITY ndash DEPENDENCY INJECTION

Unity Application Block ndash Dependency injection framework Part of MS Enterprise Librarybull Dynamically register dependencies at runtimebull Introduction to Unity httpmsdnmicrosoftcomen-

uslibrarydd203319aspx bull Single unityconfig on Front-End servers

DEREK SLIDE

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 9: Ektron 3-Tier Architecture

BENEFITS OF THIS ARCHITECTURE

bullSecuritybullScalabilitybullPerformancebullAvailability

SECURITY

bull Publically accessible Presentation-Tier has no direct access to Data-Tier

bull Business Logic contained win Middle-Tier isolated

bull Structure of database hidden from Presentation-Tier

SCALABILITYbull Each tier

independently scales horizontally

bull Scale Presentation-Tier to handle connections

bull Free database to handle database transactions

PERFORMANCEbull Cache requests

between FE amp MT ndash Serve data from

memoryndash Minimize network

utilizationndash Reduce MT and DT

load

bull Load Balancing possible at each tier

AVAILABILITYbull Redundancy of

presentation-Tier and Middle-Tier servers for failover

bull Caching between FE amp MT means system continues to serve content if Middle-Tier unavailable

EKTRON amp 3-TIERwhat ektron looks like in a 3-tier architecture

EKTRON STILL SUPPORT 2-TIER

bull You can upgrade from lt 85 to 85ndash This is supported and will continue to workndash Upgraded site will be 2-Tierndash Upgrading to 85 does NOT make your site ldquo3-Tierrdquo

bull You can develop a new site on v85 using 2-Tierndash Standard approach for building a website

bull You can develop a new site on v85 using 3-Tier

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSION 85

VERSION 85

GOING DEEPER INTO EKTRON 3-TIER

MIDDLE-TIER FOOTPRINT

Full Ektron Installation on Middle-Tierbull Ektron DLLsbull Ektron Workareabull Ektron Windows Servicesbull Ektron WCF Servicesbull Custom WCF Services

PRESENTATION-TIER FOOTPRINT

Minimal Footprint on Front-Endbull Standard ASPNET Web sitebull Minimal set of EktronDLLs in ~binbull Configuration files (webconfig unityconfig)bull Workarea not required

DEVELOPER EXPERIENCE

Developer Experience on Front-Endbull Use Framework API amp databindbull Use Templated Server Controlsbull No difference in developer experience between the

2-Tier and 3-tier architecturesbull Same exact code syntax

UNITY ndash DEPENDENCY INJECTION

Unity Application Block ndash Dependency injection framework Part of MS Enterprise Librarybull Dynamically register dependencies at runtimebull Introduction to Unity httpmsdnmicrosoftcomen-

uslibrarydd203319aspx bull Single unityconfig on Front-End servers

DEREK SLIDE

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 10: Ektron 3-Tier Architecture

SECURITY

bull Publically accessible Presentation-Tier has no direct access to Data-Tier

bull Business Logic contained win Middle-Tier isolated

bull Structure of database hidden from Presentation-Tier

SCALABILITYbull Each tier

independently scales horizontally

bull Scale Presentation-Tier to handle connections

bull Free database to handle database transactions

PERFORMANCEbull Cache requests

between FE amp MT ndash Serve data from

memoryndash Minimize network

utilizationndash Reduce MT and DT

load

bull Load Balancing possible at each tier

AVAILABILITYbull Redundancy of

presentation-Tier and Middle-Tier servers for failover

bull Caching between FE amp MT means system continues to serve content if Middle-Tier unavailable

EKTRON amp 3-TIERwhat ektron looks like in a 3-tier architecture

EKTRON STILL SUPPORT 2-TIER

bull You can upgrade from lt 85 to 85ndash This is supported and will continue to workndash Upgraded site will be 2-Tierndash Upgrading to 85 does NOT make your site ldquo3-Tierrdquo

bull You can develop a new site on v85 using 2-Tierndash Standard approach for building a website

bull You can develop a new site on v85 using 3-Tier

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSION 85

VERSION 85

GOING DEEPER INTO EKTRON 3-TIER

MIDDLE-TIER FOOTPRINT

Full Ektron Installation on Middle-Tierbull Ektron DLLsbull Ektron Workareabull Ektron Windows Servicesbull Ektron WCF Servicesbull Custom WCF Services

PRESENTATION-TIER FOOTPRINT

Minimal Footprint on Front-Endbull Standard ASPNET Web sitebull Minimal set of EktronDLLs in ~binbull Configuration files (webconfig unityconfig)bull Workarea not required

DEVELOPER EXPERIENCE

Developer Experience on Front-Endbull Use Framework API amp databindbull Use Templated Server Controlsbull No difference in developer experience between the

2-Tier and 3-tier architecturesbull Same exact code syntax

UNITY ndash DEPENDENCY INJECTION

Unity Application Block ndash Dependency injection framework Part of MS Enterprise Librarybull Dynamically register dependencies at runtimebull Introduction to Unity httpmsdnmicrosoftcomen-

uslibrarydd203319aspx bull Single unityconfig on Front-End servers

DEREK SLIDE

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 11: Ektron 3-Tier Architecture

SCALABILITYbull Each tier

independently scales horizontally

bull Scale Presentation-Tier to handle connections

bull Free database to handle database transactions

PERFORMANCEbull Cache requests

between FE amp MT ndash Serve data from

memoryndash Minimize network

utilizationndash Reduce MT and DT

load

bull Load Balancing possible at each tier

AVAILABILITYbull Redundancy of

presentation-Tier and Middle-Tier servers for failover

bull Caching between FE amp MT means system continues to serve content if Middle-Tier unavailable

EKTRON amp 3-TIERwhat ektron looks like in a 3-tier architecture

EKTRON STILL SUPPORT 2-TIER

bull You can upgrade from lt 85 to 85ndash This is supported and will continue to workndash Upgraded site will be 2-Tierndash Upgrading to 85 does NOT make your site ldquo3-Tierrdquo

bull You can develop a new site on v85 using 2-Tierndash Standard approach for building a website

bull You can develop a new site on v85 using 3-Tier

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSION 85

VERSION 85

GOING DEEPER INTO EKTRON 3-TIER

MIDDLE-TIER FOOTPRINT

Full Ektron Installation on Middle-Tierbull Ektron DLLsbull Ektron Workareabull Ektron Windows Servicesbull Ektron WCF Servicesbull Custom WCF Services

PRESENTATION-TIER FOOTPRINT

Minimal Footprint on Front-Endbull Standard ASPNET Web sitebull Minimal set of EktronDLLs in ~binbull Configuration files (webconfig unityconfig)bull Workarea not required

DEVELOPER EXPERIENCE

Developer Experience on Front-Endbull Use Framework API amp databindbull Use Templated Server Controlsbull No difference in developer experience between the

2-Tier and 3-tier architecturesbull Same exact code syntax

UNITY ndash DEPENDENCY INJECTION

Unity Application Block ndash Dependency injection framework Part of MS Enterprise Librarybull Dynamically register dependencies at runtimebull Introduction to Unity httpmsdnmicrosoftcomen-

uslibrarydd203319aspx bull Single unityconfig on Front-End servers

DEREK SLIDE

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 12: Ektron 3-Tier Architecture

PERFORMANCEbull Cache requests

between FE amp MT ndash Serve data from

memoryndash Minimize network

utilizationndash Reduce MT and DT

load

bull Load Balancing possible at each tier

AVAILABILITYbull Redundancy of

presentation-Tier and Middle-Tier servers for failover

bull Caching between FE amp MT means system continues to serve content if Middle-Tier unavailable

EKTRON amp 3-TIERwhat ektron looks like in a 3-tier architecture

EKTRON STILL SUPPORT 2-TIER

bull You can upgrade from lt 85 to 85ndash This is supported and will continue to workndash Upgraded site will be 2-Tierndash Upgrading to 85 does NOT make your site ldquo3-Tierrdquo

bull You can develop a new site on v85 using 2-Tierndash Standard approach for building a website

bull You can develop a new site on v85 using 3-Tier

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSION 85

VERSION 85

GOING DEEPER INTO EKTRON 3-TIER

MIDDLE-TIER FOOTPRINT

Full Ektron Installation on Middle-Tierbull Ektron DLLsbull Ektron Workareabull Ektron Windows Servicesbull Ektron WCF Servicesbull Custom WCF Services

PRESENTATION-TIER FOOTPRINT

Minimal Footprint on Front-Endbull Standard ASPNET Web sitebull Minimal set of EktronDLLs in ~binbull Configuration files (webconfig unityconfig)bull Workarea not required

DEVELOPER EXPERIENCE

Developer Experience on Front-Endbull Use Framework API amp databindbull Use Templated Server Controlsbull No difference in developer experience between the

2-Tier and 3-tier architecturesbull Same exact code syntax

UNITY ndash DEPENDENCY INJECTION

Unity Application Block ndash Dependency injection framework Part of MS Enterprise Librarybull Dynamically register dependencies at runtimebull Introduction to Unity httpmsdnmicrosoftcomen-

uslibrarydd203319aspx bull Single unityconfig on Front-End servers

DEREK SLIDE

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 13: Ektron 3-Tier Architecture

AVAILABILITYbull Redundancy of

presentation-Tier and Middle-Tier servers for failover

bull Caching between FE amp MT means system continues to serve content if Middle-Tier unavailable

EKTRON amp 3-TIERwhat ektron looks like in a 3-tier architecture

EKTRON STILL SUPPORT 2-TIER

bull You can upgrade from lt 85 to 85ndash This is supported and will continue to workndash Upgraded site will be 2-Tierndash Upgrading to 85 does NOT make your site ldquo3-Tierrdquo

bull You can develop a new site on v85 using 2-Tierndash Standard approach for building a website

bull You can develop a new site on v85 using 3-Tier

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSION 85

VERSION 85

GOING DEEPER INTO EKTRON 3-TIER

MIDDLE-TIER FOOTPRINT

Full Ektron Installation on Middle-Tierbull Ektron DLLsbull Ektron Workareabull Ektron Windows Servicesbull Ektron WCF Servicesbull Custom WCF Services

PRESENTATION-TIER FOOTPRINT

Minimal Footprint on Front-Endbull Standard ASPNET Web sitebull Minimal set of EktronDLLs in ~binbull Configuration files (webconfig unityconfig)bull Workarea not required

DEVELOPER EXPERIENCE

Developer Experience on Front-Endbull Use Framework API amp databindbull Use Templated Server Controlsbull No difference in developer experience between the

2-Tier and 3-tier architecturesbull Same exact code syntax

UNITY ndash DEPENDENCY INJECTION

Unity Application Block ndash Dependency injection framework Part of MS Enterprise Librarybull Dynamically register dependencies at runtimebull Introduction to Unity httpmsdnmicrosoftcomen-

uslibrarydd203319aspx bull Single unityconfig on Front-End servers

DEREK SLIDE

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 14: Ektron 3-Tier Architecture

EKTRON amp 3-TIERwhat ektron looks like in a 3-tier architecture

EKTRON STILL SUPPORT 2-TIER

bull You can upgrade from lt 85 to 85ndash This is supported and will continue to workndash Upgraded site will be 2-Tierndash Upgrading to 85 does NOT make your site ldquo3-Tierrdquo

bull You can develop a new site on v85 using 2-Tierndash Standard approach for building a website

bull You can develop a new site on v85 using 3-Tier

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSION 85

VERSION 85

GOING DEEPER INTO EKTRON 3-TIER

MIDDLE-TIER FOOTPRINT

Full Ektron Installation on Middle-Tierbull Ektron DLLsbull Ektron Workareabull Ektron Windows Servicesbull Ektron WCF Servicesbull Custom WCF Services

PRESENTATION-TIER FOOTPRINT

Minimal Footprint on Front-Endbull Standard ASPNET Web sitebull Minimal set of EktronDLLs in ~binbull Configuration files (webconfig unityconfig)bull Workarea not required

DEVELOPER EXPERIENCE

Developer Experience on Front-Endbull Use Framework API amp databindbull Use Templated Server Controlsbull No difference in developer experience between the

2-Tier and 3-tier architecturesbull Same exact code syntax

UNITY ndash DEPENDENCY INJECTION

Unity Application Block ndash Dependency injection framework Part of MS Enterprise Librarybull Dynamically register dependencies at runtimebull Introduction to Unity httpmsdnmicrosoftcomen-

uslibrarydd203319aspx bull Single unityconfig on Front-End servers

DEREK SLIDE

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 15: Ektron 3-Tier Architecture

EKTRON STILL SUPPORT 2-TIER

bull You can upgrade from lt 85 to 85ndash This is supported and will continue to workndash Upgraded site will be 2-Tierndash Upgrading to 85 does NOT make your site ldquo3-Tierrdquo

bull You can develop a new site on v85 using 2-Tierndash Standard approach for building a website

bull You can develop a new site on v85 using 3-Tier

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSION 85

VERSION 85

GOING DEEPER INTO EKTRON 3-TIER

MIDDLE-TIER FOOTPRINT

Full Ektron Installation on Middle-Tierbull Ektron DLLsbull Ektron Workareabull Ektron Windows Servicesbull Ektron WCF Servicesbull Custom WCF Services

PRESENTATION-TIER FOOTPRINT

Minimal Footprint on Front-Endbull Standard ASPNET Web sitebull Minimal set of EktronDLLs in ~binbull Configuration files (webconfig unityconfig)bull Workarea not required

DEVELOPER EXPERIENCE

Developer Experience on Front-Endbull Use Framework API amp databindbull Use Templated Server Controlsbull No difference in developer experience between the

2-Tier and 3-tier architecturesbull Same exact code syntax

UNITY ndash DEPENDENCY INJECTION

Unity Application Block ndash Dependency injection framework Part of MS Enterprise Librarybull Dynamically register dependencies at runtimebull Introduction to Unity httpmsdnmicrosoftcomen-

uslibrarydd203319aspx bull Single unityconfig on Front-End servers

DEREK SLIDE

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 16: Ektron 3-Tier Architecture

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSION 85

VERSION 85

GOING DEEPER INTO EKTRON 3-TIER

MIDDLE-TIER FOOTPRINT

Full Ektron Installation on Middle-Tierbull Ektron DLLsbull Ektron Workareabull Ektron Windows Servicesbull Ektron WCF Servicesbull Custom WCF Services

PRESENTATION-TIER FOOTPRINT

Minimal Footprint on Front-Endbull Standard ASPNET Web sitebull Minimal set of EktronDLLs in ~binbull Configuration files (webconfig unityconfig)bull Workarea not required

DEVELOPER EXPERIENCE

Developer Experience on Front-Endbull Use Framework API amp databindbull Use Templated Server Controlsbull No difference in developer experience between the

2-Tier and 3-tier architecturesbull Same exact code syntax

UNITY ndash DEPENDENCY INJECTION

Unity Application Block ndash Dependency injection framework Part of MS Enterprise Librarybull Dynamically register dependencies at runtimebull Introduction to Unity httpmsdnmicrosoftcomen-

uslibrarydd203319aspx bull Single unityconfig on Front-End servers

DEREK SLIDE

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 17: Ektron 3-Tier Architecture

VERSIONS PRIOR TO 85

VERSIONS PRIOR TO 85

VERSION 85

VERSION 85

GOING DEEPER INTO EKTRON 3-TIER

MIDDLE-TIER FOOTPRINT

Full Ektron Installation on Middle-Tierbull Ektron DLLsbull Ektron Workareabull Ektron Windows Servicesbull Ektron WCF Servicesbull Custom WCF Services

PRESENTATION-TIER FOOTPRINT

Minimal Footprint on Front-Endbull Standard ASPNET Web sitebull Minimal set of EktronDLLs in ~binbull Configuration files (webconfig unityconfig)bull Workarea not required

DEVELOPER EXPERIENCE

Developer Experience on Front-Endbull Use Framework API amp databindbull Use Templated Server Controlsbull No difference in developer experience between the

2-Tier and 3-tier architecturesbull Same exact code syntax

UNITY ndash DEPENDENCY INJECTION

Unity Application Block ndash Dependency injection framework Part of MS Enterprise Librarybull Dynamically register dependencies at runtimebull Introduction to Unity httpmsdnmicrosoftcomen-

uslibrarydd203319aspx bull Single unityconfig on Front-End servers

DEREK SLIDE

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 18: Ektron 3-Tier Architecture

VERSIONS PRIOR TO 85

VERSION 85

VERSION 85

GOING DEEPER INTO EKTRON 3-TIER

MIDDLE-TIER FOOTPRINT

Full Ektron Installation on Middle-Tierbull Ektron DLLsbull Ektron Workareabull Ektron Windows Servicesbull Ektron WCF Servicesbull Custom WCF Services

PRESENTATION-TIER FOOTPRINT

Minimal Footprint on Front-Endbull Standard ASPNET Web sitebull Minimal set of EktronDLLs in ~binbull Configuration files (webconfig unityconfig)bull Workarea not required

DEVELOPER EXPERIENCE

Developer Experience on Front-Endbull Use Framework API amp databindbull Use Templated Server Controlsbull No difference in developer experience between the

2-Tier and 3-tier architecturesbull Same exact code syntax

UNITY ndash DEPENDENCY INJECTION

Unity Application Block ndash Dependency injection framework Part of MS Enterprise Librarybull Dynamically register dependencies at runtimebull Introduction to Unity httpmsdnmicrosoftcomen-

uslibrarydd203319aspx bull Single unityconfig on Front-End servers

DEREK SLIDE

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 19: Ektron 3-Tier Architecture

VERSION 85

VERSION 85

GOING DEEPER INTO EKTRON 3-TIER

MIDDLE-TIER FOOTPRINT

Full Ektron Installation on Middle-Tierbull Ektron DLLsbull Ektron Workareabull Ektron Windows Servicesbull Ektron WCF Servicesbull Custom WCF Services

PRESENTATION-TIER FOOTPRINT

Minimal Footprint on Front-Endbull Standard ASPNET Web sitebull Minimal set of EktronDLLs in ~binbull Configuration files (webconfig unityconfig)bull Workarea not required

DEVELOPER EXPERIENCE

Developer Experience on Front-Endbull Use Framework API amp databindbull Use Templated Server Controlsbull No difference in developer experience between the

2-Tier and 3-tier architecturesbull Same exact code syntax

UNITY ndash DEPENDENCY INJECTION

Unity Application Block ndash Dependency injection framework Part of MS Enterprise Librarybull Dynamically register dependencies at runtimebull Introduction to Unity httpmsdnmicrosoftcomen-

uslibrarydd203319aspx bull Single unityconfig on Front-End servers

DEREK SLIDE

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 20: Ektron 3-Tier Architecture

VERSION 85

GOING DEEPER INTO EKTRON 3-TIER

MIDDLE-TIER FOOTPRINT

Full Ektron Installation on Middle-Tierbull Ektron DLLsbull Ektron Workareabull Ektron Windows Servicesbull Ektron WCF Servicesbull Custom WCF Services

PRESENTATION-TIER FOOTPRINT

Minimal Footprint on Front-Endbull Standard ASPNET Web sitebull Minimal set of EktronDLLs in ~binbull Configuration files (webconfig unityconfig)bull Workarea not required

DEVELOPER EXPERIENCE

Developer Experience on Front-Endbull Use Framework API amp databindbull Use Templated Server Controlsbull No difference in developer experience between the

2-Tier and 3-tier architecturesbull Same exact code syntax

UNITY ndash DEPENDENCY INJECTION

Unity Application Block ndash Dependency injection framework Part of MS Enterprise Librarybull Dynamically register dependencies at runtimebull Introduction to Unity httpmsdnmicrosoftcomen-

uslibrarydd203319aspx bull Single unityconfig on Front-End servers

DEREK SLIDE

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 21: Ektron 3-Tier Architecture

GOING DEEPER INTO EKTRON 3-TIER

MIDDLE-TIER FOOTPRINT

Full Ektron Installation on Middle-Tierbull Ektron DLLsbull Ektron Workareabull Ektron Windows Servicesbull Ektron WCF Servicesbull Custom WCF Services

PRESENTATION-TIER FOOTPRINT

Minimal Footprint on Front-Endbull Standard ASPNET Web sitebull Minimal set of EktronDLLs in ~binbull Configuration files (webconfig unityconfig)bull Workarea not required

DEVELOPER EXPERIENCE

Developer Experience on Front-Endbull Use Framework API amp databindbull Use Templated Server Controlsbull No difference in developer experience between the

2-Tier and 3-tier architecturesbull Same exact code syntax

UNITY ndash DEPENDENCY INJECTION

Unity Application Block ndash Dependency injection framework Part of MS Enterprise Librarybull Dynamically register dependencies at runtimebull Introduction to Unity httpmsdnmicrosoftcomen-

uslibrarydd203319aspx bull Single unityconfig on Front-End servers

DEREK SLIDE

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 22: Ektron 3-Tier Architecture

MIDDLE-TIER FOOTPRINT

Full Ektron Installation on Middle-Tierbull Ektron DLLsbull Ektron Workareabull Ektron Windows Servicesbull Ektron WCF Servicesbull Custom WCF Services

PRESENTATION-TIER FOOTPRINT

Minimal Footprint on Front-Endbull Standard ASPNET Web sitebull Minimal set of EktronDLLs in ~binbull Configuration files (webconfig unityconfig)bull Workarea not required

DEVELOPER EXPERIENCE

Developer Experience on Front-Endbull Use Framework API amp databindbull Use Templated Server Controlsbull No difference in developer experience between the

2-Tier and 3-tier architecturesbull Same exact code syntax

UNITY ndash DEPENDENCY INJECTION

Unity Application Block ndash Dependency injection framework Part of MS Enterprise Librarybull Dynamically register dependencies at runtimebull Introduction to Unity httpmsdnmicrosoftcomen-

uslibrarydd203319aspx bull Single unityconfig on Front-End servers

DEREK SLIDE

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 23: Ektron 3-Tier Architecture

PRESENTATION-TIER FOOTPRINT

Minimal Footprint on Front-Endbull Standard ASPNET Web sitebull Minimal set of EktronDLLs in ~binbull Configuration files (webconfig unityconfig)bull Workarea not required

DEVELOPER EXPERIENCE

Developer Experience on Front-Endbull Use Framework API amp databindbull Use Templated Server Controlsbull No difference in developer experience between the

2-Tier and 3-tier architecturesbull Same exact code syntax

UNITY ndash DEPENDENCY INJECTION

Unity Application Block ndash Dependency injection framework Part of MS Enterprise Librarybull Dynamically register dependencies at runtimebull Introduction to Unity httpmsdnmicrosoftcomen-

uslibrarydd203319aspx bull Single unityconfig on Front-End servers

DEREK SLIDE

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 24: Ektron 3-Tier Architecture

DEVELOPER EXPERIENCE

Developer Experience on Front-Endbull Use Framework API amp databindbull Use Templated Server Controlsbull No difference in developer experience between the

2-Tier and 3-tier architecturesbull Same exact code syntax

UNITY ndash DEPENDENCY INJECTION

Unity Application Block ndash Dependency injection framework Part of MS Enterprise Librarybull Dynamically register dependencies at runtimebull Introduction to Unity httpmsdnmicrosoftcomen-

uslibrarydd203319aspx bull Single unityconfig on Front-End servers

DEREK SLIDE

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 25: Ektron 3-Tier Architecture

UNITY ndash DEPENDENCY INJECTION

Unity Application Block ndash Dependency injection framework Part of MS Enterprise Librarybull Dynamically register dependencies at runtimebull Introduction to Unity httpmsdnmicrosoftcomen-

uslibrarydd203319aspx bull Single unityconfig on Front-End servers

DEREK SLIDE

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 26: Ektron 3-Tier Architecture

DEREK SLIDE

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 27: Ektron 3-Tier Architecture

COMMUNICATION FE-MT WCF

Windows Communication Foundation is bull Used to communitcate between the Presentation-

Tier and the Middle-Tier bull Implemented as a Unity container

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 28: Ektron 3-Tier Architecture

CACHING LAYER

The Caching Layer bull Caches all data retrieved from the middle-tier in

memory on the servers in the presentation-tierbull Caching is implemented as another Unity containerbull Is configured within the Unity config

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 29: Ektron 3-Tier Architecture

INSTALLATION amp CONFIGURATION

getting things up amp running in a 3-tier environment hellip

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 30: Ektron 3-Tier Architecture

BASIC INSTALLATION

Middle Tier amp Data Tierbull Perform full Ektron installation on the

Middle-Tier Data tier server using CMS400Basev85exe (no difference)ndash Note In 85 RC installation should be performed on the

website rootndash As part of the installation the 3TierMin site will be

installed to CProgram Files (x86)EktronCMS400v85startersites3TierMinContent

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 31: Ektron 3-Tier Architecture

INSTALLATION

Presentation-Tier1 From Middle-Tier copy folder CProgram Files (x86)

EktronCMS400v85startersites3TierMinContent to your web directory on the Presentation Tier serverndash This folder contains elements for a minimal-footprint front-end site

containing subset of DLLs from Middle-Tier to Presentation-Tier serverbull Which DLLs you need depends on which features you use bull This documentation describes which DLLs are required

httpbitlyektron-3tier-installation-doc bull Note not an issue to ldquojust grab them allrdquo -- even though you wont need

them all -- and pair it down later

2 Open IIS on Presentation Tier server and make this folder a Web Site

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 32: Ektron 3-Tier Architecture

INSTALLATION (CONTrsquoD)

3 Update webconfig amp point to Middle-Tier

ltappSettingsgt ltadd key=ek_ServicesPath value=http[MT]workareaservicesgt ltappSettingsgt

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 33: Ektron 3-Tier Architecture

INSTALLATION (CONTrsquoD)

4 Browse to http[FE]defaultaspx ndash You should be able to log into your front-end using any

account defined within Ektron (AdminAdmin etc)

5 Deploy your own templates and code to the Presentation-Tier

Thatrsquos it

hellip now letrsquos walk through the code footprint on the Front-End

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 34: Ektron 3-Tier Architecture

DEVELOPING 3-TIERdevelopment options in a 3-tier environment

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 35: Ektron 3-Tier Architecture

TWO APPROACHES TO DEVELOPING IN 3-TIER

1 Use Framework APIs andor Templated Server Controls directly on the Presentation-Tier Serverndash Pros Simpler (previous installation ready to go)ndash Cons Chattiness of API calls over wire

2 Designing your own Service Layer on the Middle-Tier consuming those services on the Presentation-Tier Serverndash Pros

bull Designing a Service Oriented Architecture (SOA)bull Leveraging Middle-Tier for its strength

ndash Con A little more complex to set up

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 36: Ektron 3-Tier Architecture

APPROACH 2 DEVELOPING USING APIS

bull On the Front-End use the APIs directly

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 37: Ektron 3-Tier Architecture

FREQUENTLY ASKED QUESTIONS

What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41
Page 38: Ektron 3-Tier Architecture

Questions

Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom

  • Slide 1
  • Slide 2
  • Agenda amp Overview
  • The Whatrsquos amp whyrsquos
  • Slide 5
  • 1-Tier Architecture
  • 2-Tier Architecture
  • 3-Tier Architecture
  • Slide 9
  • Benefits of this Architecture
  • Security
  • Scalability
  • Performance
  • Availability
  • Ektron amp 3-Tier
  • Ektron Still Support 2-Tier
  • Versions prior to 85
  • Versions prior to 85 (2)
  • Versions prior to 85 (3)
  • Slide 20
  • Slide 21
  • Slide 22
  • Going Deeper into Ektron 3-Tier
  • Middle-Tier Footprint
  • Presentation-Tier Footprint
  • Developer Experience
  • Unity ndash Dependency Injection
  • Derek slide
  • Communication FE-MT WCF
  • Caching Layer
  • Slide 31
  • Installation amp configuration
  • Basic Installation
  • Installation
  • Installation (contrsquod)
  • Installation (contrsquod) (2)
  • Developing 3-tier
  • Two Approaches to Developing in 3-Tier
  • Approach 2 Developing using APIs
  • Frequently Asked Questions
  • Slide 41