Hi, this is a bit off topic, but I ask myself this question very often. Maybe someone asks the same.
What do you think about serialization of AS3 data objects (e.g. an ArrayCollaction) to persist the data in an easy way? For instance there's an ArrayCollection that contains hierarchical data that we have to persist. We could simply pass it to the backend, serialize the object and store it e.g. as BLOB inside a database field. This is very easy and fast to implement. The other conventional way is to be using nested sets or similar ideas to describe the hierarchical structure inside the database. But this means much more effort at the backend. So my general question is: Is it evil to serialize an object only to persist it? What are the pros and cons? Many thanks in advance, 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.
