[Zope-dev] Experiments with ORMapping

Joachim Werner joe@iuveno-net.de
Fri, 11 May 2001 14:22:52 +0200


> > > But storage of binary pickles was never the intention anyway.  I
created
> > > a little interface that would allow you to store different classes in
> > > different PostgreSQL tables.  Before I got to implementing anything,
> >
> > Is this much like the ZPatterns approach?
>
> Which part of ZPatterns are you referring to?  The idea is to
> (generally) put all instances of a class in a certain table.  But the
> implementation details having nothing in common with ZPatterns.

That's the basic approach for SmartObjects, too.

> > Or do we want to make some automatism to get tables created and
destroyed
> > according to ZClasses needs?

SmartObjects would also do that. But not with the existing ZClasses. There
will be something similar that you can use to define the schemas and that
then creates the classes and the tables on the fly.

> I was thinking there would be a default table where everything gets
> stored by default.  A programmer then tells the ORMapping about specific
> classes and how to store them.