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

> -----Original Message-----
> From: Mike Kear [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 23, 2008 10:17 AM
> To: CF-Talk
> Subject: Re: How to Archive in a CMS
> 
> 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
> <[EMAIL PROTECTED]> 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
> >
> >>
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312948
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to