Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7766697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T15:29:15+00:00 2026-06-01T15:29:15+00:00

I’m attempting to bring sanity to an existing system by adding version control. Trouble

  • 0

I’m attempting to bring sanity to an existing system by adding version control. Trouble is the system doesn’t translate well to a filesystem like layout. After several thought experiments I have a rudimentary way to handle this but before I start allowing the usage of this mess I’d like to run it by the collective.

The system consists of typed objects and links.
The objects are linked together with a link table to form meaningful relationships.
The links are also typed objects and can have their own attributes.

Users can arrive at the view of the objects at any level and walk up and down following the links to see the relationships.

Most objects have hundreds of links to other objects.
Not all objects or links will be under version control as some can be considered static.
It is allowed to have a version controlled link to a non version controlled object.

Changes to the objects arrive as a batch containing the entire layout of a section of the heirarchy, with no or mimimal user comments or version information themselves.
Changes are therefore detected by comparison of the new object to the previous one. Link changes are also detected in this way. Objects can be added in one version, removed in the next, and added again in the next. Most objects have enough unique information to detect that this was indeed the same object that was flip-flopping in and out of existance.

Objects and links that do not change should not have a new version created for the individual objects, but the overall content resulting from the batch update should still be identifiable as a group.

95% of users will only be interested in the latest version of the objects/relationships, but I need to be able to show previously committed objects/relationships for the remaining 5%.

My initial thoughts are to implement an overall version uid for the batch of changes and associate it with all of the current objects/links for that iteration. The rest is up for grabs. If you made it this far, thank you. Thoughts?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T15:29:17+00:00Added an answer on June 1, 2026 at 3:29 pm

    This sounds like you are describing a (relational) database. Your favorite search engine will give you a number of links for ideas on how to do database versioning.

    Two examples for SQL.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I would like to count the length of a string with PHP. The string
For some reason, after submitting a string like this Jack’s Spindle from a text
I've got a string that has curly quotes in it. I'd like to replace
I am trying to render a haml file in a javascript response like so:
I would like to run a str_replace or preg_replace which looks for certain words
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We are using XSLT to translate a RIXML file to XML. Our RIXML contains
I'm having trouble keeping the paragraph square between the quote marks. In firefox the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.