Overview
There are three key concepts underpinning the Textstem System:
- Pages
- Components
- Posts
Pages
When a url is requested, Textstem creates a page object to respond with. This page object has properties such as
- title and template which have been defined for that page;
- contextual information, such as where the page sits in the site structure, including menu objects;
- a collection of components attached to the page
Components
Components are used to render content on pages. Often they will have some user-configurable settings such as what article to show, and what content template to use when rendering the article. Some components are 'smart components' and will examine the requested url or other conditions to determine what to display. A common example of this is a blog or news component which will display a list of posts, or a selected post if a slug or ID is found in the request.
See also:
- @page 'Components'
Posts
Posts are a the basic content type used by Textstem. Unlike pages, they are not required to have a fixed Url - but can be access by a variety of ways that utilise properties such as date, location or some custom attribute like flavour. A Textstem site may have many different post types - news, blog, event, venue, ticket, product, song and so on. These are organised into 'collections'
See also: