Re: Quick Terminology Poll
Rickard Öberg <rickard-CNn8dUF/[email protected]> Wed, 01 Feb 2006 11:23:55 +0100
| Newsgroups | gmane.comp.cms.cms-forum.general |
|---|---|
| Organization | Senselogic |
| Message-ID | <[email protected]> |
Boris Kraft wrote: >>Template and Layout, to me, are the same thing. I'd go with Template. > > > A template is something that is used to render output - e.g. a jsp or > asp file. It is virtually physical in nature. The layout is a logical > structuring, part of the design - e.g. 2 column, or 3 column layout. > > Thus one could have several layouts rendered by one template (if the > template is configurable to generate various layouts) or you could > have several templates with the same layout - but usually a different > design. For example, a 3 column layout could be used for the main > page template, news section template and standard content template. > > And you could combine them - a number of templates that are > configurable with various layouts (2 or 3 column, say) to render > different sections of the site (e.g. main, news, standard) > > Hope that makes sense to someone ;-) That is more or less the same terminology we use. In our case a template may also contain several layout strategies for different parts of the page. You could have a row layout for the header, a column layout for the nav+content of the page, and then either a row or column layout for the footer. To make things more complicated the layout used may depend on the user, if he is logged in, and what security groups he belongs to, but it would still be the same template. /Rickard