[Persistence-sig] "Straw Baby" Persistence API

Kevin Jacobs jacobs@penguin.theopalgroup.com
Tue, 23 Jul 2002 10:38:05 -0400 (EDT)


On Tue, 23 Jul 2002, Phillip J. Eby wrote:
> >There's been a proposal for adding an observer framework to Python.
> >A suitable general observer framework just might allow the problem to be
> >solved.
> 
> Yes, and any such observer framework is going to have to work via changing 
> the type, type pointer, or replacing the object, unless it's going to be by 
> altering the fundamental Python object model.  :)

I think that this can be done with a light-weight C proxy methods --
hopefully glued in by an intelligent meta-class.  That way, we do not lose
much performance, and don't have to butcher Python's object model too much.

My goal is to migrate towards a persistence system that uses metaclasses and
proxies to do most of the heavy lifting involved in transforming
general user-specified objects into persistent objects.

-Kevin

--
Kevin Jacobs
The OPAL Group - Enterprise Systems Architect
Voice: (216) 986-0710 x 19         E-mail: jacobs@theopalgroup.com
Fax:   (216) 986-0714              WWW:    http://www.theopalgroup.com