Upload
billcavaus
View
3.394
Download
0
Embed Size (px)
DESCRIPTION
Learn how Ektron supports a true 3 Tier Architecture to provide increased scalability, security, and availability.
Citation preview
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
FREQUENTLY ASKED QUESTIONS
What about hellipndash legacy APIsndash legacy Server ControlsndashPageBuilderndashWidgetsndasheSyncbull data codebull documents images etc
Questions
Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom
Questions
Bill Cavabull Chief Evangelist Ektronbull httptwittercombillcavabull billcavaektroncom