Thu, 27 Nov 2008
Marshalling & Persistence
« Spherical Physics and Rewrite of Fabric class | Main | Tensegrity Structures Blog » Posted by at 9:45 AM in Code
In this podcast episode I continue to describe the developments on the way to the new version of the online darwinathome program. Marshalling is all about transforming fabrics (bodies) to a binary format and back into object graphs again. The Fablob (Fabric BLOB) class does the work and it can store fabrics in either lossy or non-lossy form, depending on what the situation demands. It will be used for database storage, http communications and also for fabric cloning (during evolution).
Also I've put together a datamodel using Hibernate and Postgres, and it maintains the genaeology of the fabrics; the parent-child relationships so we can store lots of fabrics in the database and we can brows through the ancestors of any fabric to see how it developed.
Technorati Tags: evolution marshalling persistence genaeology