Enhancing Object-Based System Composition through Per-Object Mixins

نویسندگان

  • Gustaf Neumann
  • Uwe Zdun
چکیده

The management of complexity in large systems is traditionally focused on the modeling and management of classes and hierarchies of classes. In order to improve the compositional flexibility in large systems, this paper turns the focus on objects rather than classes. We will demonstrate that a more powerful object system can ease the development of large systems and can improve the degree of code reuse. The paper introduces a new object-level language construct, per-object mixins, for object-based system composition. It is implemented in the scripting language XOTCL, which is an extension of MIT’s OTCL. Per-object mixins extend the method chaining mechanism of OTCL with the ability to mix classes into the precedence order of an arbitrary object. Per-object mixins can be used to implement state-specific behavior changes in a clean way. We present per-object mixins as a general approach to hide object specifics from client objects transparently.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Implementing Object-speciic Design Patterns Using Per-object Mixins

Object-oriented software system composition is traditionally centered on class-based designs. In this paper we will take a look onto design issues from an object-level point of view and discuss the idea to build designs especially tailored for the object-level. Currently the object-oriented paradigm is still evolving. New ideas, like design patterns, enhance composability on the class-level. Ba...

متن کامل

Object-based and class-based composition of transitive mixins

In object-oriented composition, classes and class inheritance are applied to realize type relationships and reusable building blocks. Unfortunately, these two goals might be contradictory in many situations, leading to classes and inheritance hierarchies that are hard to reuse. Some approaches exist to remedy this problem, such as mixins, aspects, roles, and meta-objects. However, in all these ...

متن کامل

Segmentation Assisted Object Distinction for Direct Volume Rendering

Ray Casting is a direct volume rendering technique for visualizing 3D arrays of sampled data. It has vital applications in medical and biological imaging. Nevertheless, it is inherently open to cluttered classification results. It suffers from overlapping transfer function values and lacks a sufficiently powerful voxel parsing mechanism for object distinction. In this work, we are proposing an ...

متن کامل

Flattening versus direct semantics for

Inheritance in object-oriented languages allows, roughly, to obtain the same effect one would get by duplicating the methods of the parent class in the heir. However, the key advantage is that source code duplication is avoided, and the code of the parent is, instead, found on demand, through a runtime procedure called method lookup. In other words, two different semantics of inheritance can be...

متن کامل

Types for Non-Standard Class Operations

Bracha and Cook illustrate how existing object-oriented languages with only single inheritance, such as Smalltalk and Beta, cannot describe extensions to a family of classes without duplicating either the extension or the base classes. To this end, they examine the idea of mixins from the Common Lisp Object System (CLOS) and show how to adapt the idea of mixins to other object-oriented systems ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1999