[Grok-dev] Re: final sprint report - please review my branch!
Martijn Faassen
faassen at startifact.com
Tue Apr 8 07:31:46 EDT 2008
Philipp von Weitershausen wrote:
[snip]
> P.S.: On a technical note, I should add that I'm not entirely satisfied
> with some of the details, for instance the "Context" base class that was
> introduced. So some details may change.
Why not? It actually makes it more easy to write generic other
contextable classes - no more hardcoding in grokkers about what the
possible contexts are. I quited liked it, as it works and it's simple.
I also think it is useful for instance when we want to introduce
ORM-backed model and container base classes, or in general when during
traversal you want to create objects that aren't persistent. Of course
grok.Model works just fine here as well, but it's a trifle cleaner not
to involve the Persistent base class at all.
Regards,
Martijn
More information about the Grok-dev
mailing list