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

  • Home
  • SEARCH
  • 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 243903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T20:57:36+00:00 2026-05-11T20:57:36+00:00

Every now and then I find web applications that have some sort of article

  • 0

Every now and then I find web applications that have some sort of article history/versioning where you can select a previous version of the article/content and basically do a “restore” process. I’m planning on having one like that, but I have a few things in my mind and I would like to get your opinions.

1) Should an autosave add a new entry to the history list? I would like to implement an autosave feature, so, I wonder whether each autosave should add a new entry into the version history list? Or should I have a separate “list” (=latest autosave only) for autosaved articles? I think the ladder makes more sense. If the browser crashes (or wtvr) then the user could restore an autosave. The history list is for those articles that he saved by pressing the submit button. Agree?

2) How many versions? If the user keeps modifying the article (lets say he keeps adding new paragraphs) and then saves the article, how many different versions of the article should there be at max? Should I let the user decide (which was my initial thought)? What is usually a reasonable value? 10? Is versioning a bad thing when it comes to disc storage? If each article has 10 versions, it’s basically 10x more space for the entire article content… now Imagine having 1 MB of article content, it would be 10 MB for the entire DB and some hosts have limits as the size of a DB. This leads to the question 3:

3) Do you ever remove versions? If article versions have stayed intact for enough long, will you remove those? If so, what’s the duration you set? A user defined? Is one week a sufficient default value? If the time is not the indicator, then what is? And if the time is the indicator, then do you run Crons to do the cleanings or what?

4) How to determine a “change”? If the user adds one dot into the end of the article and presses the save button, will I still create a new history entry? How do you handle this? Do you just compare if the article has changed and if so you create a new entry?

That’s plenty of questions I know, but if you got some opinions or thoughts I’m glad to hear them. 🙂

  • 1 1 Answer
  • 3 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-05-11T20:57:37+00:00Added an answer on May 11, 2026 at 8:57 pm

    If each article has 10 versions, it’s
    basically 10x more space for the
    entire article content… now Imagine
    having 1 MB of article content, it
    would be 10 MB for the entire DB and
    some hosts have limits as the size of
    a DB.

    If you use a version control system on the webserver to manage the actual entries (e.g. rcs, subversion) you won’t have to worry about whether the changes are major or not, or how many to keep, and should also save on disk space. These systems are already designed to save only the changes between versions. So a one character change to a 10M file should still be roughly 10M for both versions.

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

Sidebar

Related Questions

Every now and then I receive a Word Document that I have to display
I have an app that is already running - every now and then it
Every now and then (ahem...) my code crashes on some system; quite often, my
Every now and then I have a problem with SVN inside eclipse folder gets
A term that I see every now and then is Cyclomatic Complexity. Here on
I work with my own projects and every-now-and-then I do some work for third-parties
I have a web site that is using Linq2Sql on the server side. Every
I have a problem with my mouse. Every now and then it will double
I have developed this PHP web application which is now running for some months.
Every now and then I need to call new[] for built-in types (usually char

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.