[Grok-dev] Re: On the Grok API
Martijn Faassen
faassen at startifact.com
Tue Jun 12 14:59:57 EDT 2007
Hey,
The problem with supporting this is that we do require another import:
import grok
from grok import declare
I'd like to avoid that. Thinking about this, there aren't that many
different things in the grok namespace that a developer uses:
* base classes
* directives
Base classes start with capitals, directives not.
The main trouble start because we have a few utility functions too, such
as grok.url().
It might make more sense to move all utility functions (non-directives)
away from the grok namespace package.
Regards,
Martijn
More information about the Grok-dev
mailing list