[REBOL] Re: Project introduction ... Re: Re: RFC: Rebol Framework
From: al:bri:xtra at: 9-Oct-2002 9:16
Petr Krenzelok wrote:
> That's the first thing someone will have to explain me - why naked-objects or RFM uses
blocks and name value pairs? Is there any advantage?
Because one can alter the block at runtime! For example, adding more fields or removing
them. That allows customising each record.
> 2) As you can see, I need some relations - each building has its rooms, - typical parent
child relationship. That relationship can be expressed in RFM, if I understand it correctly,
but what if child can have its own child relationships etc.?
I'm working on that kind of thing, with bidirectional links expressed as containment.
[Teacher "A. Teacher" Room ] ; Last block contains next block:
[Room "K5" Teacher ] ; Last block contains first block.
> 3) Can objects be extended in the real time by adding another attribute?
No! And if another object points to the object, you're going to have problems. That's
because the other object will hang on to the orignal, when you change it.