Show
Ignore:
Timestamp:
05/15/08 02:26:48 (5 months ago)
Author:
pmoura
Message:

Improved the description of parametric object proxies.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/examples/proxies/NOTES.txt

    r4233 r4262  
    2525In the context of parametric objects, the above terms are know as "parametric  
    2626object proxies". Proxies represent different instantiations of a parametric  
    27 object parameters. They may be stored on the database as Prolog facts. This  
    28 results in a very compact representation, which can be an advantage when  
    29 dealing with a large number of objects with immutable state. In addition, all  
    30 the predicates dealing managing these compact representation are encapsulated  
    31 in a parametric object. This can be, however, a fragile solution as changes on 
    32 the parametric object ancestors may imply changes to the number and meaning of 
    33 the parametric object parameters which, in turn, may imply changes to all the  
    34 Prolog facts used to represent the individual objects. 
     27object parameters. Proxy terms may be stored on the database as Prolog facts  
     28or as Prolog rules (parameter instantiation can be deduced instead of being  
     29fixed). This results in a very compact representation, which can be an  
     30advantage when dealing with a large number of objects with immutable state.  
     31In addition, all the predicates managing these compact representation are  
     32encapsulated in a parametric object. This can be, however, a fragile solution  
     33as changes on the parametric object ancestors may imply changes to the number  
     34and meaning of the parametric object parameters which, in turn, may imply  
     35changes to all the Prolog facts used to represent the individual objects. 
    3536 
    3637Note that parametric objects can co-exist with "normal" objects. For example,