Re: Programming With Revision History

From: Date: Tue, 29 Jul 2008 20:16:44 +0000
Subject: Re: Programming With Revision History
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-277441@lists.php.net to get a copy of this message
Hello, Think in this way: You would be needing two tables: first one: content table: contentID, contentType, revisionID ----------- contentID is the PK ( you can make the UI for adding and deleting these fields) content_revisions table revisionID, contentID, ---------- revisionID is the PK Great things start from simple thinking. You can use this model to implement revisions. In some PHP CMS we currently have they also use serialized data fields for each revision. --- Thanks

« previous php.general (#277441) next »