[Zope] Re: APE and version control?

Johan Carlsson johanc at easypublisher.com
Mon Oct 20 13:51:30 EDT 2003


Shane Hathaway wrote:
> On Mon, 20 Oct 2003, Johan Carlsson wrote:
> 
>>I'm a bit interested in what you meen by "apply version control to your 
>>objects". How would this work?
> 
> Well, there is a strong distinction between the ZODB parts of Ape and the 
> actual serialization layer.  You can use the serialization layer for 
> purposes other than storing in a database.  You could write some code that 
> listens to events notifying that objects have changed.  The event handler 
> could serialize the objects to a version control system.

Ok. Let me put it in this way :-)

What I’m looking for is the possibility to implement an application 
level version control inside Zope.
I guess revision could be handle in the same way as OID are handled and 
guide the gateways what revision to get?

Would this be possible with the scenario you describe?

Also would it be possible to use a ZODB storage from the gateways? In 
other words stack a version-aware storage on top of another storage that 
implements the revision repository.

Regards,
Johan


PS. I keep this discussion on zope at zope.org, but next question I will
send to zodb-dev at zope.org.

-- 
Johan Carlsson          Tel: + 46 8 31 24 94
Colliberty              Mob: + 46 70 558 25 24
Torsgatan 72            Email: johanc at easypublisher.com
SE-113 37 STOCKHOLM





More information about the Zope mailing list