This content has been marked as final. Show 3 replies
An asset is a content-item, the data structure that editors work with and can workflow, publish and have rendered on the live site.
A Page is an assettype that can be put in a navigation structure (the site plan tree). It holds references to the content on a web page. The Page asset is the only assetype that can be put in this navigational structure.
A Template is a wrapper around a piece of code to render an asset.
A CSElement is a wrapper around a piece of code that by convention does something else than render an asset. You can see them as helper functions.
A SiteEntry is a pointer to a CSElement so you can call that code externally through a URL. A Template (technically) combines a CSElement and a SiteEntry. The is more complexity to this, especially around caching, but for now this give you some indication of the high level differences.
The code part of a CSElement and a Template is in most cases implemented in a JSP page.
Any (most) assets can be rendered with a Template, the template produces the html for this asset, for instance that the image should be placed left of the body text.
To follow the call flow: a browser makes a request to the Sites servlet, this servlet decides based on the 'pagename' request parameter which Template to execute. This Template decides on the request parameters 'c' and 'cid' which assetid and assettye to render and the template will then create the html and call other Templates for related assets and CSElements to complete the html page.