From: Matthew M. <ma...@tu...> - 2004-10-05 16:40:57
|
Hello all, Long time no write. I have a question that Steven and I have been discussing which could use some feedback. There is a class in 0.9.4 called Backup. It facilitates restoring an item of content to a previous version. The question we have is - what then? A quick overview. When you call Backup::save(), a backup of your data is placed in a (almost) duplicate table. The backup system limits the backups to 5 right now - 4 previous edits plus the current copy. Remember, the last letter on the list is the current version. In each scenario, we have 5 copies, A B C D and E, with 'E' being the current version. We want to replace the current version (E) with a previous version (C). Scenario 1 C is made the current version (becoming 'F'). D and E are removed since they are after the reversion. The new list is: A B F Scenario 2 C is made the current version (becoming 'F'). The previous version (E) is added to the reversion list. Our new list is: A B D E F Scenario 1 is more like how your standard 'undo' command works. However, we are worried that people will expect the last version to be saved even if we are going to an older version. Comments welcome. Thanks, Matt -- Matthew McNaney Internet Systems Architect Electronic Student Services Appalachian State University Phone: 828-262-6493 http://phpwebsite.appstate.edu http://ess.appstate.edu |