Page 1 of 1
Content Management Versioning
Posted: Sun Apr 30, 2006 6:55 am
by ashrust
Hi,
Wikipedia has a superb versioning system for its articles. Does anyone know how this works? Do they retain a complete copy of each edit or is there something more efficient being used?
Thanks in advance.
ASH
Posted: Sun Apr 30, 2006 8:03 am
by feyd
Most WikiWiki implementations choose to use a diff or difference file that contains what has changed and where between the versions. Unless you need the site to be able to recall older versions I wouldn't build a difference engine into its code. Instead, I'd use a tool like CVS or better yet, Subversion (SVN.)
Posted: Sun Apr 30, 2006 8:11 am
by ashrust
I am thinking about content management systems. All the ones I have built in the past don't record versions. This has been a problem for those using the system and also myself. If something goes wrong you have no recall.
So I guess I do want to keep some track of the content - is a diff/difference file the way to go?
If so where might I find out more on this?
thanks again
ASH
Posted: Sun Apr 30, 2006 1:20 pm
by Christopher
It is actually easier than you think to build a CMS on top of CVS or Subversion. This interfaces to them are very simple and straightforward. Give it a whirl and let us know if you come up with some useful code to share.
Posted: Sun Apr 30, 2006 1:31 pm
by ashrust
Thanks. I will get on the svn site and let the coding begin.