This package is meant to manage archives of successive revisions of text content articles stored in a database. It enables version control of the articles in similar way to what the CVS program provides.
It is capable of storing in a separate database table all the versions of content articles that are stored in other tables.
This version control package makes it possible to retrieve any of the past versions of a content article, the date of each revision and the identification of the author that submitted each revision.
The base class archives content articles that may contain a variable number of fields of arbitrary length.
It also computes an MD5 hash of the content to verify whether the content has changed between revisions and avoids creating a new revision if nothing was changed.
The class can retrieve one or more revisions of a content article and output the differences between two articles using the diff utility program.
This package comes with an optional sub-class that is capable of storing and retrieving the content articles in a compressed format using the gzip library, so it can use less database table space.
This package version requires MySQLQueryContainer package to access to the database. |