Re: [Zope-CMF] [dev] basic Five support - a small proposal

2005-05-24 Thread Lennart Regebro
On 5/24/05, yuppie <[EMAIL PROTECTED]> wrote:
> There is already the CMFonFive project, but now that Zope 2.8 ships with
> Five I'd like to see basic Five support in CMF itself:

Well you have a point. I see some options:

1. Moving CMFonFive to Zope corps CVS and simply shipping it with the
next version of CMF.

2. Moving the things that are in CMFonFive into CMFCore.

3. Moving just some parts, and thereby still requireing CMFonFive for
any reasonably CMF integration, and hence gaining very little. ;)

I prefer 1. Then we too can have a big simple:

try:
  import Five
except ImportError:
  yada yada
in the __init__.py

> 3.) a base class for Five content:
> The PortalContent class does not implement everything required in
> CMFDefault. AFAICS at least some DublinCore methods are missing. We
> could either add a subset as in PortalFolder or use the complete
> DefaultDublinCoreImpl.

Well, that's still not a Five issue. But it could be a reasonably
thing to have in CMFDefault anyway.

--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests


[Zope-CMF] [dev] basic Five support - a small proposal

2005-05-24 Thread yuppie

Hi!


There is already the CMFonFive project, but now that Zope 2.8 ships with 
Five I'd like to see basic Five support in CMF itself:



1.) Zope3 style interfaces (similar to what exists in CMFonFive)

2.) a five_template that bridges Five slots to those available in the 
main_template (similar to that in CMFonFive)


3.) a base class for Five content:
The PortalContent class does not implement everything required in 
CMFDefault. AFAICS at least some DublinCore methods are missing. We 
could either add a subset as in PortalFolder or use the complete 
DefaultDublinCoreImpl.



These first steps can be done without breaking Zope 2.7 compatibility. 
I'd like to start with this on the HEAD and backport it to the 1.5 
branch as soon as it is mature enough.


Any comments?


Cheers,

Yuppie

___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests