[Grok-dev] Neanderthal sprint topics

Wichert Akkerman wichert at wiggy.net
Fri Sep 28 17:04:10 EDT 2007


Previously Brandon Craig Rhodes wrote:
> "Leonardo Rochael Almeida" <leorochael at gmail.com> writes:
> > In time, a class for Storm stored instances doesn't need any special
> > base classes or metaclasses ...  so I think we can freely use Grok
> > model classes for them.
> 
> I have strenuously avoided using Grok model classes for objects that
> aren't persistent in the ZODB, because if they aren't in the ZODB,
> then I have a superstition that they should not inherit from
> Persistent!

You could use something else, but I don't see a real problem with using
grok.Model with SQLAlchemy. I'm doing that for a project and it's been
working very well.

Wichert.

-- 
Wichert Akkerman <wichert at wiggy.net>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.


More information about the Grok-dev mailing list