[Grok-dev] Re: What would a megrok.z3cform (and a
Zope2/plone.z3cform equivalent) look like?
Philipp von Weitershausen
philipp at weitershausen.de
Wed Aug 6 09:17:43 EDT 2008
Martin Aspeli wrote:
> Philipp von Weitershausen wrote:
>> It won't work because namespace package's __init__.py may not contain
>> code. Imports are code (the five.grok package is supposed to provide a
>> Grok-like API).
>> Let's stay with flat namespaces.
> Then what should we call it?
This ain't flat :)
I'd prefer if we can do without lots of new top level namespaces.
Yup. Something like that. Or just make plone.z3cform have the grokkified
stuff as well. E.g.
from plone.z3cform.grok import EditForm
or whatever. That's probably what I'd prefer. But it's your call.
More information about the Grok-dev