[Home] [Groups] - Message: [Prev in Group] [Next in Group]
24925: [MUD-Dev] Serialization, dealing with changing classes.
[Full Header] [Plain Text]
From: "Neil Edwards" <neil@anyisle.org>
Newsgroups: nu.kanga.list.mud-dev
Date: Wed, 4 Sep 2002 13:56:37 +0100
Organization: Kanga.Nu
Hi there, I am currently writing a MUD from scratch in C# for
learning the language and I enjoy writing MUDs. I was wondering how
people get round the problem of Serializing objects (to a file)
who's class may change and make the serialized version unreadable.
I have tackled this problem previously with my java MUDs by writing
XML based files and if something got removed from the class or added
to it then the XML Parser would just not look for the item or give
it a default if it didn't exist in the file. I was considering doing
this again in C# but thought I would see how everyone else handled
this.
Another thought, if I were to switch to OODBMS (recommended?) are
there any free implementations such as MySQL that I may use and,
although less important, that are .NET native or compatible.
Thanks for reading.
---
Neil Edwards
http://anyisle.org
_______________________________________________
MUD-Dev mailing list
MUD-Dev@kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev