Textwrangler and BBEdit have compare doc options as well

Sent from my iPhone

> On Apr 25, 2017, at 4:32 PM, Douglas von Roeder via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> Kirk:
> 
> That's a sound approach.
> 
> In addition to the hash, my thinking is to store changed documents as
> versions of the original ("reference") document instead overwriting the
> original.
> 
> Next step is to find an app that will do a diff that I can display for the
> end user.
> 
> 
> --
> Douglas von Roeder
> 949-336-2902
> 
> On Tue, Apr 25, 2017 at 1:24 PM, Kirk Brooks via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> 
>> Doug,
>> I'd just grab the text of the document and hash it. MD5 is fine since it's
>> not about security. Save the hash. If any text is changed the hash will
>> change. Since it's in a record you can test for the modified record/
>> changed hash.
>> 
>> On Tue, Apr 25, 2017 at 10:49 AM, Douglas von Roeder via 4D_Tech <
>> 4d_tech@lists.4d.com> wrote:
>> 
>>> Kirk:
>>> 
>>> Each end user modifiable document is stored in a record.
>>> 
>>> Based my new understanding of the requirement, I'm thinking that a
>>> "reference" copy of each document will be stored on the LAN in a folder
>>> hierarchy. I can flag a document as having been changed on the standalone
>>> and capture that as a new version of the reference document when the
>>> document synchs back to the LAN. That allows me to leave the documents on
>>> the server instead having to synch them.
>>> 
>>> The diffing can be done by the server machine, perhaps using LEP and on
>> an
>>> as-needed basis.
>>> 
>>> 
>>> 
>>> --
>>> Douglas von Roeder
>>> 949-336-2902
>>> 
>>> On Tue, Apr 25, 2017 at 10:39 AM, Kirk Brooks via 4D_Tech <
>>> 4d_tech@lists.4d.com> wrote:
>>> 
>>>> Doug,
>>>> Is the document stored in a record or just loose in a folder?
>>>> 
>>>> On Mon, Apr 24, 2017 at 2:20 PM, Douglas von Roeder via 4D_Tech <
>>>> 4d_tech@lists.4d.com> wrote:
>>>> 
>>>>> I've been asked to update the code in an Audit Trail system so it
>> will
>>>> work
>>>>> with 4D Write documents. Rather than simply tracking that there's
>> been
>>> a
>>>>> change and showing the old document vs the new one, I'd like to diff
>>> the
>>>>> old vs new and be able to display the diff.
>>>>> 
>>>>> The system has about a dozen LAN users and 25 users on standalones.
>>>> Second,
>>>>> it's Windows-only now but will be Windows and OS X as part of an
>>> upgrade
>>>>> from V13 to V15/16.
>>>>> 
>>>>> Any suggestions or recommendations will be appreciated.
>>>>> --
>>>>> Douglas von Roeder
>>>>> 949-336-2902
>>>>> ************************************************************
>> **********
>>>>> 4D Internet Users Group (4D iNUG)
>>>>> FAQ:  http://lists.4d.com/faqnug.html
>>>>> Archive:  http://lists.4d.com/archives.html
>>>>> Options: http://lists.4d.com/mailman/options/4d_tech
>>>>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>>>>> ************************************************************
>> **********
>>>> 
>>>> 
>>>> 
>>>> 
>>>> --
>>>> Kirk Brooks
>>>> San Francisco, CA
>>>> =======================
>>>> 
>>>> *The only thing necessary for the triumph of evil is for good men to do
>>>> nothing.*
>>>> 
>>>> *- Edmund Burke*
>>>> **********************************************************************
>>>> 4D Internet Users Group (4D iNUG)
>>>> FAQ:  http://lists.4d.com/faqnug.html
>>>> Archive:  http://lists.4d.com/archives.html
>>>> Options: http://lists.4d.com/mailman/options/4d_tech
>>>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>>>> **********************************************************************
>>>> 
>>> **********************************************************************
>>> 4D Internet Users Group (4D iNUG)
>>> FAQ:  http://lists.4d.com/faqnug.html
>>> Archive:  http://lists.4d.com/archives.html
>>> Options: http://lists.4d.com/mailman/options/4d_tech
>>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>>> **********************************************************************
>>> 
>> 
>> 
>> 
>> --
>> Kirk Brooks
>> San Francisco, CA
>> =======================
>> 
>> *The only thing necessary for the triumph of evil is for good men to do
>> nothing.*
>> 
>> *- Edmund Burke*
>> **********************************************************************
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4d.com/archives.html
>> Options: http://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **********************************************************************
>> 
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **********************************************************************
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to