This page is no longer maintained — Please continue to the home page at www.scala-lang.org

DCI: One application of traits

No replies
Bill Venners
Joined: 2008-12-18,
User offline. Last seen 31 weeks 5 days ago.

Hi All,

I thought you might be interested in an article we just published that
mentions Scala and in particular traits. It is a general article on an
object-oriented architecture, called DCI, which you might think of as
Model-View-Controller 2.0. The basic idea is to use traits to model
roles. Here's a description of the article:

Trygve Reenskaug, who created the Model-View-Controller pattern while
at Xerox Parc in the 1970s, has joined forces with James O. Coplien,
one of the founders of the Software Pattern discipline, to describe
the Data-Context-Interactions architecture (DCI). DCI is an attempt to
address a deficiency in traditional object-oriented architectures:
although objects capture structure well, they fail to capture system
action. DCI is a vision to capture the end user cognitive model of
roles and the interactions between them. The goal of DCI is to better
unify the perspectives of the programmer and end user in the code, to
help improve both the usability of the software and the
understandability of the program code itself.

http://www.artima.com/articles/dci_vision.html

It is a bit long, so get a cup of tea ready.

Thanks.

Bill
----
Bill Venners
Artima, Inc.
http://www.artima.com

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland