[ZODB-Dev] summary of version discussion

Toby Dickenson tdickenson@geminidataloggers.com
Fri, 6 Dec 2002 00:29:31 +0000


On Thursday 05 December 2002 11:33 pm, Jeremy Hylton wrote:

(great summary, thanks)

> Every new storage needs
> to decide whether it will support versions, and has to implementation
> APIs the include version-specific arguments even if the storage
> doesn't support versions.

I wonder would it be viable to provide this support within the current AP=
I=20
using a Storage adapter?=20

The adapter could delegate non-version requests to an ordinary storage=20
embedded within itself, but handle all methods that relate to versions on=
 its=20
own. This adapter could be used to add a versioning capability to all=20
storages that do not currently suport it.

That would mean that version state is independant of normal state. I thin=
k=20
(but Im not sure) that is a good thing.