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:

    “Just as children, step by step, must separate from their parents, we will have to separate from them. And we will probably suffer...from some degree of separation anxiety: because separation ends sweet symbiosis. Because separation reduces our power and control. Because separation makes us feel less needed, less important. And because separation exposes our children to danger.”
    —Judith Viorst (20th century)

    “There is no Possibility of succeeding in a Satyrical Way of Writing or Speaking, except a Man throws himself quite out of the Question. It is great Vanity to think any one will attend a Thing because it is your Quarrel. You must make your Satyr the Concern of Society in general, if you would have it regarded.”
    —Richard Steele (1672–1729)

    “When we say “science” we can either mean any manipulation of the inventive and organizing power of the human intellect: or we can mean such an extremely different thing as the religion of science the vulgarized derivative from this pure activity manipulated by a sort of priestcraft into a great religious and political weapon.”
    —Wyndham Lewis (1882–1957)

    “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)