UniverseUniversity


Home Projects Jobs Clientele Contact

uu


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Versioning



I'm not talking about the complete functionality yet. The schema I described allows to implement it, but at the moment I'm only trying to develop a way of switching the versions.
The main questions at the moment, I guess, are:
1) how do we keep object versions to track the version tree. I've offered a conception of original object..
2) what do we do when the new version is produced. My idea is - to switch all the object connections to that new version ( edit) or to produce a new version disconnected, to be used in another parent object (clone).
3) we may also have a reference to the particular version, original version, or latest version. This part can be discussed after we now answers to 1) and 2)

2006/10/21, Ilya A. Volynets-Evenbakh <ilya@total-knowledge.com>:
I'm not sure that what you described gives us same functionality
as we need
(http://www.total-knowledge.com/wiki/index.php/UU_Tech has
quick spec.)

Alexey Parshin wrote:
> There are several ways to do versioning.
>
> Here is one:
>
> Every object should have a version number, a reference to an object
> it's derived from (previous version), and a reference to the original
> object. The separate table should hold object class, original object
> id, and the latest version of that object available.
>
> The question is how to indicate the latest version of the object. We
> can move the connections of the old version to the new version, if the
> new version stays with the same parent object. If we need to step back
> to prior version - we just switch connections to required version. All
> the versions have the same original object id reference.
>
> 2006/10/20, Ilya A. Volynets-Evenbakh <ilya@total-knowledge.com
> <mailto: ilya@total-knowledge.com>>:
>
>     Few more things, at we are going to be in good enough shape to
>     start writing stored procs
>     - I don't see where student's solution of a problem is stored
>     - Versioning support
>     - DoT doesn't look too close to what I was thinking, but I'll leave
>       it alone till I know what it really should be working like.
>
>     Probably there are other things I missed, so we'll change
>     schema later as needed.
>
>     --
>     Ilya A. Volynets-Evenbakh
>     Total Knowledge. CTO
>     http://www.total-knowledge.com
>
>
>
>
> --
> Alexey Parshin,
> http://www.sptk.net

--
Ilya A. Volynets-Evenbakh
Total Knowledge. CTO
http://www.total-knowledge.com




--
Alexey Parshin,
http://www.sptk.net

Authoright © Total Knowledge: 2001-2008