Data versioning design issues?

Source: Internet
Author: User
Tags call back
is making a system. The logic is probably this:

New forms can be saved later or submitted to an administrator for review. The audit does not pass the person who will call back to fill in the form.
Every step in this will produce a version, and different versions of the operation will have to differ.
For example, the save operation will produce a saved version, the submission will produce a committed version, the Administrator audit does not pass the call back to the form will also produce a corresponding type of version number. People of different roles see the list of versions differently.
Later, you'll compare these stored versions with the results of Word review, and see the differences between versions.

The current practice is to add a version field to the table. Adds a record for each version produced. The tracking change function is to generate two static pages for comparison.
But the total sense of this is too dead, and the page will produce a large problem of efficiency.

Here to ask you the great God, what is the design of this kind of plan?

Reply content:

is making a system. The logic is probably this:

New forms can be saved later or submitted to an administrator for review. The audit does not pass the person who will call back to fill in the form.
Every step in this will produce a version, and different versions of the operation will have to differ.
For example, the save operation will produce a saved version, the submission will produce a committed version, the Administrator audit does not pass the call back to the form will also produce a corresponding type of version number. People of different roles see the list of versions differently.
Later, you'll compare these stored versions with the results of Word review, and see the differences between versions.

The current practice is to add a version field to the table. Adds a record for each version produced. The tracking change function is to generate two static pages for comparison.
But the total sense of this is too dead, and the page will produce a large problem of efficiency.

Here to ask you the great God, what is the design of this kind of plan?

This requirement, like SVN or git, is a bit similar and can be consulted

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.