In one Project I used AMF for serialization in the DB ... the cool Thing about this, was that we were actually able to add new attributes to our objects without corrupting the serialized data (Ok ... renaming and removing of attributes is bad, but the AMF serialization has proven to be way more robust than other approaches ;-)
________________________________________ Von: Cosma Colanicchia [[email protected]] Gesendet: Donnerstag, 18. Juli 2013 11:22 An: [email protected] Betreff: Re: OT: Persistence of data objects by using serialization Also, serialization by its nature tend to be very coupled with runtime model of the objects - shoud your objects structure change in the future (e.g. modify the object attributes), you may have troubles trying to gracefully reuse or migrate the old serialized data. You can mitigate this to some extent properly using the [Transient] metadata, or you can take full control using custom serialization (implementing the IExternalizable interface) at the expense of writing your read/write logic (but this could kill the advantage over a traditional persistence management). 2013/7/18 Krüger, Olaf <[email protected]> > >The question always comes back to "do we need to search/edit the data on > the server?" > > Yes, it seems that this is the central question that must be answered > before storing serialized objects on the server. > > Thanks, > Olaf > > ________________________________ > > Edscha Holding GmbH > Sitz der Gesellschaft: Remscheid > Registergericht: Wuppertal, HRB 22889 > Geschäftsführung: Francisco J. Riberas Mera, Juan Maria Riberas Mera, > Francisco López Peña, David Vázquez Pascual, Torsten Greiner, Mario > Eikelmann, Hans-Peter Schulz und Volker Weiss > > Vertretungsberechtigt sind nur Geschäftsführer und schriftlich > Bevollmächtigte. > > Solely Managing Directors or employees with a written proxy have got power > of representation. > > Der Inhalt dieser E-Mail einschließlich etwaiger beigefügter Dateien ist > vertraulich und nur für den Empfänger bestimmt. Sollten Sie nicht der > bestimmungsgemäße Empfänger sein, ist Ihnen jegliche Offenlegung, > Vervielfältigung, Weitergabe oder Nutzung des Inhalts untersagt. Bitte > informieren Sie in diesem Fall unverzüglich den Absender und löschen Sie > die E-Mail einschließlich etwaiger beigefügter Dateien von Ihrem System. > Vielen Dank. > > The contents of this e-mail including any attachments are confidential and > may be legally privileged. If you are not the intended recipient, any > disclosure, copying, distribution or use of its contents is strictly > prohibited, and you should please notify the sender immediately and then > delete this e-mail including any attachments from your system. Thank you. >
