I'm working on a collection of functions for handling text documents; when a Document is added, its text is broken into paragraphs, and each paragraph is saved to the database as a separate record. The problem is editing the document, because I only want to update those paragraphs that have been changed (like CVS). I've been trying to find information on how some of the versioning software out there does it, but haven't found anything really helpful. As far as I can see, the troublesome points are when a new paragraph is added, or an old paragraph is deleted. How can you tell the difference between this, and simply a heavily edited paragraph? And how does one maintain the association between edited and existing paragraphs with these possibilities throwing the iteration out of whack?
-- Jason Godesky [EMAIL PROTECTED] http://www.tribaldawn.com/jason/
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php