Subj : Re: Serializing Object Graphs To : netscape.public.mozilla.jseng From : eric_brueggemann@yahoo.com (Eric Brueggemann) Date : Tue Apr 08 2003 01:48 pm Brendan Eich wrote: > > Why would you want to use serialization for a "DOM undo" mechanism? > Undo is easily implemented using a log of invertible operations. > > Mozilla's editor has multi-level undo. But maybe you're not using Gecko? > > /be Hi, Well, the DOM doesn't capture all the relevant information. I'd like to be able to roll back JSObjects as well: obj.foo = "bar"; obj.foo = MD5(obj.foo); obj.foo == "bar"; It would also be very nice to be able to save state to disk for restoration in a later process. Thanks for your quick responses, Brendan. As always, your help is very much appreciated! Cheers, Eric .