Subject-oriented Programming - Multi-dimensional Separation of Concerns, Hyper/J, and The Concern Manipulation Environment

Multi-dimensional Separation of Concerns, Hyper/J, and The Concern Manipulation Environment

The original formulation of subject-oriented programming deliberately envisioned it as a packaging technology – allowing the space of functions and data types to be extended in either dimension. The first implementations had been for C++, and Smalltalk. These implementations exploited the concepts of software labels and composition rules to describe the joining of subjects.

To address the concern that a better foundation should be provided for the analysis and composition of software not just in terms of its packaging but in terms of the various concerns these packages addressed, an explicit organization of the material was developed in terms of a multi-dimensional “matrix” in which concerns are related to the software units that implement them. This organization is called Multi-Dimensional Separation of Concerns, and the paper describing it has been recognized as the most influential paper of the ICSE 1999 Conference

This new concept was implemented for composing Java software, using the name Hyper/J for the tool.

Composition and the concept of subject can be applied to software artifacts that have no executable semantics, like requirement specifications or documentation. A research vehicle for Eclipse, called the Concern Manipulation Environment (CME), has been described in which tools for query, analysis, modelling, and composition are applied to artifacts in any language or representation, through the use of appropriate plug-in adapters to manipulate the representation.

A successor to the Hyper/J composition engine was developed as part of CME which uses a general approach for the several elements of a composition engine:

  • a query language with unification to identify join points,
  • a flexible structural-attachment model,
  • a nested-graph specification for ordering identified elements,
  • and a priority ordering specification to resolve conflicts among conflicting rules.

Both Hyper/J and CME are available, from alphaWorks or sourceforge, respectively, but neither is actively supported.

Read more about this topic:  Subject-oriented Programming

Famous quotes containing the words separation, concern, manipulation and/or environment:

    The legislative powers of government reach actions only, and not opinions, ... thus building a wall of separation between Church and State.
    Thomas Jefferson (1743–1826)

    You say that you do not succeed much. Does it concern you enough that you do not? Do you work hard enough at it? Do you get the benefit of discipline out of it? If so persevere. Is it a more serious thing than to walk a thousand miles in a thousand successive hours? Do you get any corns by it? Do you ever think of hanging yourself on account of failure?
    Henry David Thoreau (1817–1862)

    The principle that human nature, in its psychological aspects, is nothing more than a product of history and given social relations removes all barriers to coercion and manipulation by the powerful.
    Noam Chomsky (b. 1928)

    We learn through experience and experiencing, and no one teaches anyone anything. This is as true for the infant moving from kicking to crawling to walking as it is for the scientist with his equations. If the environment permits it, anyone can learn whatever he chooses to learn; and if the individual permits it, the environment will teach him everything it has to teach.
    Viola Spolin (b. 1911)