R: [Zope-CMF] Discussion
TrashMan
trashman@httconsulting.com
Mon, 3 Dec 2001 10:21:40 +0100
Thanks very much!
:-))
Max
-----Messaggio originale-----
Da: Dieter Maurer [mailto:dieter@handshake.de]
Inviato: sabato 1 dicembre 2001 21.13
A: TrashMan
Cc: 'cmf'
Oggetto: Re: [Zope-CMF] Discussion
TrashMan writes:
> I have created a ZClass and included as a content type in a CMF site.
> My question is: It's better include the methods (edit , view,
metadata > etc) in the zclass or it's better build several dtml-method
in the > portal_skin/custom ?
> In the second way i can change it everytime i want!
The current philosphy goes into the following direction:
the functionality into the product (your ZClass)
the presentation into the skins
I am not sure that this philisophy is right (because the skins form a
global resource, while we need local, product specific ones). But I am
sure, that presentation is much more volatile than functionality.
If you are interested in reuse, then it is probably a good idea
to separate presentation from functionality, such that
you can use the *same* functional component with several
different presentations....
If you are not interested in this type of reuse, I feel,
it would not matter (sure, others have a different feeling).
Dieter