[Zope-CMF] What's the story for using Z3 content types as first-class citizens in CMF?

Martin Aspeli optilude at gmx.net
Fri Feb 10 15:43:22 EST 2006


Just trying to get an overview - are there any plans or code (CMF 2?) to  
make it possible to use Z3 content types as first-class citizens in CMF?  
That is, make them available in add menus, make actions/tabs appear on  
them, let them use method aliases, make them catalog aware and so on,  
without necessarily inheriting from PortalContent.

Alec Mitchell's plone_schemas product lets you use such types in Plone,  
though he derives from CMF's PortalContent (as I recall) and manually  
constructs an FTI.

I can see some great advantages to leveraging Z3's content type system,  
not at least before they encourage easier re-use. That's not to say that  
we can't start to write content types using CMF (or Archetypes as the case  
may be in the Plone world) but presenting Z3 interfaces and offering  
adapters and get many of the same benefits, but I'd really like to settle  
on one content type system in the long run, and I think Z3 schemas are a  
nice approach.

Who has experience with this? What holes are there to be plugged before  
this stops being a slightly awkward marriage between old and new code?




More information about the Zope-CMF mailing list