[REBOL] Re: Embedded objects - deviation
From: lmecir:mbox:vol:cz at: 16-Mar-2003 16:58
Hi Terry,
sorry for the delay, I missed your question, when I looked at my mail last
time...
> Interesting, but how would you save it, to say a flat file DB?
it would depend on the needs of the application, but it isn't hard, IMO.
Every dynamic object (DO) you want to store to a DB should have an ID
attribute.
The saving function just needs to save the ID's of all dynamic objects,
basic
attributes (like the Name attribute in the example code or any other
ordinary
attributes). If an attribute of a DO is a DO, then you can save
just its ID. This is sufficient to be able to "reconstruct" the state later.
If you have got something specific in mind, just ask.
Regards
-L