KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I believe that the best way to save your application state is to a traditional relational database which most of the time its table structure is pretty much represent the data model of our system + meta data. However other guys in my team think that today it's best to simply serialize the entire object graph to a binary or XML file. No need to say (but I'll still say it) that World War 3 is going between us and I would like to hear your opinion about this issue. Personally I hate serialization because: The data saved is adhered only to your development platform (C# in my case). No other platforms like Java or C++ can use this data. Entire object graph (including all the inheritance chain) is saved and not only the data we need. Changing the data model might cause severe backward compatibility issues when trying to load old states. Sharing parts of the data between applications is problematic. I would like to hear your opinion about that.
Tags (comma-separated)
Save Edits
Cancel