Menu

#40 Xml options serialisation

open
nobody
None
3
2006-06-03
2006-06-03
No

Options are now saved to a binary file, via object
serialisation.

That works fine.

However, xml would be better, given humans could read
it. And, depending on (un)marshalling technique, it
could survive kagiru updates. The binary file is broken
as soon as the Options structure changes.

Discussion

  • Roel Hertoghs

    Roel Hertoghs - 2006-06-18

    Logged In: YES
    user_id=1427765

    Advantage: humans could edit it, too.

    Unmarshaling should be smart by restoring / adding new
    default properties. Could be done by starting from a new
    Options instance, and overriding all properties encountered
    in the file.

     
  • Roel Hertoghs

    Roel Hertoghs - 2006-07-11

    Logged In: YES
    user_id=1427765

    Maybe via some library.

    To check if that makes it survive options structure change,
    though!

     

Log in to post a comment.

MongoDB Logo MongoDB