[Zope-CMF] Making TypesTool faster

Martin Aspeli optilude at gmx.net
Wed May 2 13:03:39 EDT 2007




Tres Seaver wrote:
> 
> Before we look at optimizing the use of the product dispatch mechanism,
> I'd like to propose deprecating it in favor of the factory-utility
> mechanism:  leaving the 'product' field blank in an FTI, and having the
> 'factory' field be the name of a utility registered for
> 'zope.component.interfaces.IFactory'.
> 

+1, but I don't think the two need to be mutually exclusive.

At present, Archetypes-based content types cannot be used with a factory (I
tried hard, but there are some acquisition-related/factory related reasons);
I'd like to refactor this, but we can't for Plone 3.0 at least.

Given that Alec & co essentially had a patch which worked, I suggest that we
have a look at it, and include it if possible, and then encourage the use
factories in general. I'd hope we could avoid deprecating it outright until
we can fix up AT to use them, though.

Martin
-- 
View this message in context: http://www.nabble.com/Making-TypesTool-faster-tf3678114.html#a10290398
Sent from the Zope - CMF list2 mailing list archive at Nabble.com.



More information about the Zope-CMF mailing list