Mindtraveller wrote on Fri, 25 February 2011 09:34
Thanks everyone for the answers. I guess the problem is solved.
mirek wrote on Fri, 25 February 2011 11:46
That said, it does not solve the problem all the time and generally, I would NOT recommend using binary serialization for permanent storage of important files. It is fine for configs (where if you loose one, it is not that bad) or for transfering data (e.g. over network).
Do not use it for documents
BTW, why? Looks like not a bad storage solution.
I guess the main problem is that it is so simple to serialize things that it is too easy to accidentally break the format...
And, sometimes, the problem also is that it is impossible or too diffuclt to keep backward compatibility. Simple example would be forgetting to put 'version' somewhere...