House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / ColdFusion Talk (CF-Talk)

How to Archive in a CMS

Author:
Adam Churvis
09/23/2008 10:40 AM

It's been a while, but IIRC, basically you create binaries of each version, then XOR them against each other to create the binary delta file.  Make sure to compress the delta before storing it, or you won't realize much (if any) space savings. To go back to a version, you just XOR a binary of the current version against each decompressed delta in succession all the way back to the version you want. Hope this helps. Respectfully, Adam Phillip Churvis President Productivity Enhancement > I'm sorry if i'm being a bit dense, but how would that work in a > CF8Enterprise/Win2003/MSSQLServer2005 setup?   How would I store the > binary negative deltas? > > Cheers > Mike Kear > Windsor, NSW, Australia > Adobe Certified Advanced ColdFusion Developer > AFP Webworks > http://afpwebworks.com > ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month > > > On Tue, Sep 23, 2008 at 9:45 PM, Adam Churvis > <adam@productivityenhancement.com> wrote: > > Mike, > > > > Why not just store the current version in your live CMS table, then > store > > all the binary negative deltas in a revisions table?  That reduces > your > > storage requirements to almost nothing, it makes history retrievals > > lightning fast, and you can display any version from any point in > history > > (or rollback to that point) with a simple binary operation. > > > > Respectfully, > > > > Adam Phillip Churvis > > President > > Productivity Enhancement > > > >> > >


Search cf-talk

February 11, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29