Re: Programming With Revision History

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux