๐”– Bobbio Scriptorium
โœฆ   LIBER   โœฆ

Providing multiple views for objects

โœ Scribed by Naftaly H. Minsky; Partha Pratim Pal


Book ID
101237204
Publisher
John Wiley and Sons
Year
2000
Tongue
English
Weight
160 KB
Volume
30
Category
Article
ISSN
0038-0644

No coin nor oath required. For personal study only.

โœฆ Synopsis


The need for multiple views of an object is often encountered in software practice. This paper presents our experience in addressing this need under a software architecture known as the law-governed architecture. We introduce the notion of a surrogate object which allows an object to appear different and behave differently when used from different parts of a system. This concept requires some minor modifications to the classical inheritance-based object-oriented systems, mostly involving a judicious use of delegation. A concrete implementation of surrogates under the law-governed architecture is described and some applications of surrogates are briefly discussed.


๐Ÿ“œ SIMILAR VOLUMES