Forum OpenACS Development: Re: CR misunderstanding?

Collapse
6: Re: CR misunderstanding? (response to 1)
Posted by Dave Bauer on
Is there any compelling reason not to just copy the un-versioned attributes for every revision?

This is much easier and makes the interface consistent.

It does invovle some amount of copying of the attributes, but I think the greater simplicity of the code is worth it.

Collapse
9: Re: CR misunderstanding? (response to 6)
Posted by Koen Breugelmans on
Hello,

After rethinking my data-model, the pieces start to fit for me. I was trying too much to reuse my original data-model, which consisted of unversioned data in tables, linked together with foreign keys. Using the CR correct, and restructuring my data in a hierarchy using content-item's parent_ids (and relations to do more advanced linking), I'm now able to do the same without giving up on the constraints I need...

Lesson learned. While trying to migrate my old system to use the content-repository, I focused too much on my old data-model while I needed a slighty different mindset for this.

thanks everybody

greetz,
koen.