|
||
The Kentico CMS portal engine provides a highly flexible and extensible framework that allows you to build complex dynamic websites using built-in and custom web parts. This chapter explains how the portal engine works.
Every web page is based on some page template. The page template can be specific for a single page (so called "ad hoc" page template) or it can be re-used for several pages. The following picture shows an example of two pages that use the same page template:
As you can see, both of them use the same header, main menu, sub-menu, content structure and footer — they are based on the same page template. In this way, you can create multiple pages using the same design.
A page template is a combination of page layout (ASCX or HTML code) and web parts. The following figure illustrates the structure of the page template and how it's used to display a page:
As you can see, the page layout is a piece of simple, fully customizable HTML code that defines the design of the page and contains web part zones. The web part zones can contain web parts. The web parts display page content or provide some functionality, such as input forms. The layout and the web parts together define the page template.
When you add page specific content to the page template, you get the final page.