The entities in the domain model that relates to the Websites area, and how they are linked to the rest of the domain model.
On this page, you can read about:
Main entities
Conceptual domain model
Website entity
Page entity
Block entity
Main entities
The two main entities of the Websites area are the website entity and page entity. Websites contain the block entity.
The following conceptual domain model is an overview of how the entities correlate to each other:
The website entity resides in the Litium.Websites.Website namespace.
Website contains a hierarchical structure of pages.
Website and channel connection
To make a website visible, a channel is required. Channel is the entity in which languages, markets, domain URLs, and countries are defined for a given website. A website can be connected to several different channels.
The page entity resides in the Litium.Websites.Page namespace.
The page object contains all content, settings, and other information for a specific web page.
A page is connected to a page template, a website, a parent page, multiple channels, and multiple block containers.
When a page is created, all properties based on the page template are displayed on the Properties tab of the page in edit mode.
Home page
The top page of a website hierarchy is called the home page and does not have a parent page. The home page is shown directly under the website icon (globe) in the tree structure in the Websites area. All other pages are always created as child pages to other pages.
Block container
A page can be connected to several block containers. A block container can be considered as a placeholder, that you can add blocks to.
Page and channel connection
A page object can also be connected to multiple channels. This connection indicates that the page is active in that channel and can be viewed if a user accesses the domain URL of the channel. Only channels that have connections to the corresponding website can be active at the page level.
The block entity resides in the Litium.Blocks.Block namespace.
Blocks are the smallest component of a web page. A block is a section of a page, but it behaves like a page without a URL.
A block belongs to a block template (block type).
Page and channel connection
Blocks can be connected to multiple channels. If a block is connected to a channel it means that it is active in that channel, and will be displayed when a user accesses the content page via that particular channel.