moritz has asked for the wisdom of the Perl Monks concerning the following question:
As always, reality is a poor approximation to my mental model, and things are more complicated: the properties of the materials need to be versioned.
No big deal, just a linear revision number with the associated values. But so far I haven't found a clean way to deal with versioned properties in object mappers like DBIx::Class or Rose::DB::Object.
Ideally the object that represents a versioned object (or an object with versioned properties) should ...
Most search queries against the database would only query the current revision, but some would also query all available revisions.
The more I think about the proble, the more I'm sure that such a version aware db wrapper is desirable in many situations, but I haven't found anything useful on cpan and freshmeat.
Now I seek my fellow monk's wisdom and ideas:
(For a while I thought about building it the other way round - storing the data with git, and build a database engine on top of that, but I discarded it as being to much work).
At the moment speed isn't all that important, but it should still be scalable - no O(nē) lookups if possible ;)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: ORM with version control?
by Corion (Patriarch) on Feb 06, 2008 at 14:56 UTC | |
|
Re: ORM with version control?
by locked_user sundialsvc4 (Abbot) on Feb 06, 2008 at 16:06 UTC | |
|
Re: ORM with version control?
by Tabari (Monk) on Feb 11, 2008 at 16:24 UTC | |
|
Re: ORM with version control?
by Anonymous Monk on Jun 26, 2008 at 15:05 UTC |