[Zope-CMF] Discussion
Dieter Maurer
dieter@handshake.de
Sat, 1 Dec 2001 21:12:49 +0100
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