[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Persistence and Versioning?
> Has anyone spent some time to think about the versioning issues
> involved for our persistence approach?
The class based versioning is delegated to the class itself. With
WriteVersion and ReadVersion you can assign and check any version
number scheme you want.
> Especially the proposal by Michael to make ExCalc use
> persistence brought this thought back to my head, also I can not
> point out a ready-made solution.
Persistence on application level can be done similar. The
application increases the version number of the whole file, if an
additional root is written into the file, or one is removed.
> But I guess we should have *some* basic guideline for how
> versions are to be handled, shouldn't we?
Start at 1, increase by 1 with every change? I believe, you had
something different in mind ;-)
-- mva