[Zope-CMF] CMF Tests: 3 OK

2009-08-11 Thread CMF Tests Summarizer
Summary of messages to the cmf-tests list.
Period Mon Aug 10 12:00:00 2009 UTC to Tue Aug 11 12:00:00 2009 UTC.
There were 3 messages: 3 from CMF Tests.


Tests passed OK
---

Subject: OK : CMF-2.1 Zope-2.10 Python-2.4.6 : Linux
From: CMF Tests
Date: Mon Aug 10 21:15:12 EDT 2009
URL: http://mail.zope.org/pipermail/cmf-tests/2009-August/011864.html

Subject: OK : CMF-trunk Zope-2.12 Python-2.6.2 : Linux
From: CMF Tests
Date: Mon Aug 10 21:17:12 EDT 2009
URL: http://mail.zope.org/pipermail/cmf-tests/2009-August/011865.html

Subject: OK : CMF-trunk Zope-trunk Python-2.6.2 : Linux
From: CMF Tests
Date: Mon Aug 10 21:19:12 EDT 2009
URL: http://mail.zope.org/pipermail/cmf-tests/2009-August/011866.html

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

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] [CMF 2.1] opaque items calls make performance issue

2009-08-11 Thread yuppie
Hi!


Hanno Schlichting wrote:
 I don't know how such a feature removal or deprecation would be
 handled on the CMF level.

AFAICS IWorkflowAware and IOpaqueItemManager methods (as defined in CMF 
2.2) were added to CMFCatalogAware because at that time events were not 
available and it was easier to have all manage_after* and manage_before* 
methods in one place.

But IWorkflowAware and IOpaqueItemManager have nothing to do with 
ICatalogAware and I can no longer see a good reason to keep them all in 
one mixin.

I propose to split up CMFCatalogAware in CatalogAware, WorkflowAware and 
OpaqueItemManager mixins. All the interfaces provided by these base 
classes should be optional for CMF content. PortalFolderBase e.g. is not 
catalog or workflow aware, so it should not use those base classes.

In a next step we can replace the OpaqueItemManager base class by an 
adapter and provide an alternative adapter that just looks for talkback.

That makes opaque item support configurable and we can disable it by 
default.


Cheers,

Yuppie

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

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] [CMF 2.1] opaque items calls make performance issue

2009-08-11 Thread Charlie Clark
Am 11.08.2009, 20:06 Uhr, schrieb yuppie y.2...@wcm-solutions.de:

 I propose to split up CMFCatalogAware in CatalogAware, WorkflowAware and
 OpaqueItemManager mixins. All the interfaces provided by these base
 classes should be optional for CMF content. PortalFolderBase e.g. is not
 catalog or workflow aware, so it should not use those base classes.

This is an excellent idea! Finding out that the reason why my folderish  
objects were not being indexed because PortalFolder switches it off  
despire being CatalogAware was one of those aha experiences when moving  
towards a component architecture.

Charlie
-- 
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226
___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests