ATContentTypes erben oder bauen?

Hartmut Goebel <[email protected]>
Newsgroups gmane.comp.web.zope.german
Organization Goebel Consult
Message-ID <[email protected]>
Hallo,

gleich noch eine Frage: Ich möchte einen "Partner Link" Contenttype
erstellen. Also einen Link mit einer kurzen Beschreibung und einem Image
dazu.

Was ist hierbei best-practice?

a) Erben von Image und Link und nur ein Attribute ändern, oder
b) NewsItem nehmen und den Text herusnehmen
c) neuen Typ bauen

zu a): wie wird hier das Schema behandelt? Wenn ich beide Schemade
kopiere, habe ich dann nicht zweimal 'id', 'title', etc?

zu c) besser auf Basis von ATDocumentBase, BaseContent oder ...?

-- 
Schönen Gruß - Regards
Hartmut Goebel
Dipl.-Informatiker (univ.), CISSP

Goebel Consult
Spezialist für IT-Sicherheit in komplexen Umgebungen
http://www.goebel-consult.de



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
smime.p7s (application/x-pkcs7-signature, 4.6 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.