Agenda Icon: Start Date: 2/27/2017 10:45:00 AM

10:45:Front-End Asset Delivery Framework & Multitenancy Theming

Episerver CMS provides a rich framework to create Pages and Blocks, but does not have a way to efficiently deliver JavaScript and CSS only when needed. This makes for a potentially heavy, inefficient front-end prone to issues with DOM binding, object collision, and proper placement of CSS and JavaScript within the markup. This session will demonstrate a way to solve all of these issues and allow developers to easily reference these types of files. In addition, we will cover a way to address multi-site deployments of Episerver CMS specific to how Pages and Blocks can adapt to the themes and layouts of multiple brands using the same code base. 

We will cover key concepts including:

  • How to enable pages and blocks to register their own JavaScript and CSS
  • How to ensure CSS/JavaScript are included only once, even if the block is used multiple times
  • How to use a layout mode to change the look of a block without changing markup

Episerver CMS provides a rich framework to create Pages and Blocks, but does not have a way to efficiently deliver JavaScript and CSS only when needed. This makes for a potentially heavy, inefficient front-end prone to issues with DOM binding, object collision, and proper placement of CSS and JavaScript within the markup. This session will demonstrate a way to solve all of these issues and allow developers to easily reference these types of files. In addition, we will cover a way to address multi-site deployments of Episerver CMS specific to how Pages and Blocks can adapt to the themes and layouts of multiple brands using the same code base. 

We will cover key concepts including:

  • How to enable pages and blocks to register their own JavaScript and CSS
  • How to ensure CSS/JavaScript are included only once, even if the block is used multiple times
  • How to use a layout mode to change the look of a block without changing markup