[Zope-dev] Experiments with ORMapping
Shane Hathaway
shane@digicool.com
Thu, 10 May 2001 12:39:33 -0400
Tino Wildenhain wrote:
> > 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.
> Or do we want to make some automatism to get tables created and destroyed
> according to ZClasses needs?
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.
> > So, if we have context, the relational mapping tree can work. It would
> > turn Zope into a purely relational application server, which a lot of
> > folks apparently want. ;-)
>
> Oh, do they? ;)
> Me dont :-)
You know, it might be possible to get a team together to implement
this. How many out there would be interested in pursuing it further?
IMHO it's not as much work as it sounds at first. Zope being so
object-oriented, you really can replace one of its most fundamental
assumptions (an OODBMS) with something else (an RDBMS) without a huge
effort.
Shane