[z3-five] Does Five support Local Utilities?
Chris Withers
chris at simplistix.co.uk
Tue Sep 19 12:34:09 CEST 2006
Lennart Regebro wrote:
> I would say so, yes. You are trying to use a utiloty as both a utility
> and as a placeholder for object settings. It really doesn't make much
> sense.
> If you need a twiddler per object, the utility should probably be a
> twiddler factory.
It's an input parser per twiddler object, but yeah, I thought about that.
It seems an awful lot of extraneous code though :-/
(I have to register factories for utilities even where the utility is a
simple python function, and I need several new interfaces:
IInputFactory, IOutputFactory, IExecutorFactory,IFilterFactory)
I dunno, I think Lennart is "right" here, but that "factory" attribute
to the utility directive is hard to ignore...
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the z3-five
mailing list