Wolfgang Jeltsch schrieb:
Am Freitag, 13. Juni 2008 16:39 schrieb Andreas Hartmann:
[…]

Wolfgang Jeltsch schrieb:
Am Freitag, 13. Juni 2008 15:17 schrieb Andreas Hartmann:

[…]

The "Create publication" web interface is not intended for development,
rather to create new publication instances in a production environment.
So what do I “develop” then?  I thought, I develop a publication.  Do I
develop a “publication template” or whatever which can be instantiated
several times?
Yes, this is a typical application scenario. The publication templating
feature is targeted for large organisations like universities. They
provide a template which is instanciated for all their departements.

But I thought that a template *is* a (special kind of) publication.

Yes, this is true.

Could you please tell me what

    * a publication

Originally, a publication was a collection of content objects and a set of functions (in 1.2 tasks, in 2.0 usecases). In 2.0, these aspects have been separated for better reusability and maintainability. But you can still have both (content and function declarations) in one publication (if you don't need publication templating).

    * a publication template

A publication template is a publication which defines the fundamental presentation and behaviour for other publications. In fact, every publication can be a template if it provides an instantiator. A publication template may contain content, but I wouldn't recommend this for SoC reasons. For each template, an arbitrary number of instances can be created. Changes to all fallback-referenced resources in the template will be visible in all instances.

    * a publication instance

A publication instance is a publication which contains only data and configuration. The functions and layout are defined by its template publication. It is possible, though, to declare certain additional functions or override functions and rendering components (sitemaps, XSLTs, …) of the template publication.

-- Andreas


--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to