The need to develop and maintain large complex software systems in a competitive and dynamic environment has driven interest in new approaches to software design and development. The problems with the classical waterfall model have been cataloged in almost every software engineering text [19,23]. In response, alternative models such as the spiral [2], and fountain [9] have been proposed.
Problems with traditional development using the classical life cycle include no iteration, no emphasis on reuse, and no unifying model to integrate the phases. The difference in point of view between following data flows in structured analysis and building hierarchies of tasks in structured design has always been a major problem [4]. Each system is built from scratch and maintenance costs account for a notoriously large share of total system costs.
The object-oriented paradigm addresses each of these issues.
A look at the object-oriented software life cycle, as described by Meyer [5], Coad and Yourdon [4], and Henderson-Sellers and Edwards [9], identifies the three traditional activities of analysis, design, and implementation. However, each of the referenced descriptions eliminates the distinct boundaries between the phases.
The primary reason for this blurring of boundaries is that the items of interest in each phase are the same: objects. Objects and the relationships between objects are identified in both the analysis and design phases. Objects and relationships identified and documented in the analysis phase serve not only as input to the design phase, but as an initial layer in the design. This continuity provides for a much more seamless interface between the phases. Analysts, designers and programmers are working with a common set of items upon which to build.
A second reason for the blurring of these boundaries is that the object-oriented development process is iterative. Henderson-Sellers and Edwards further refine this idea by replacing the waterfall model of software development with a fountain model. Development reaches a high level only to fall back to a previous level to begin the climb once again.
As an example of the blurring of the traditional boundaries of the life cycle phases, Coad and Yourdon recommend that classification relationships between objects be captured and documented during the object-oriented analysis (OOA) phase. This classification will be directly reflected in the class inheritance structure developed in the design and in the code. This classification is in no way required in order to document the system requirements. In other words, Coad and Yourdon are recommending a traditional design activity in the analysis phase.
The blurring of the traditional design and implementation phases has been fueled by the development of encapsulation and abstraction mechanisms in object-oriented and object-based languages. For example, Meyer claims [14] that Eiffel is both a design and an implementation language. He goes on to say that software design is sometimes mistakenly viewed as an activity totally secluded from actual implementation. From his point of view, much is to be gained from an approach that integrates both activities within the same conceptual framework.
The object-oriented design paradigm is the next logical step in a progression that has led from a purely procedural approach to an object-based approach and now to the object-oriented approach. The progression has resulted from a gradual shift in point of view in the development process. The procedural design paradigm utilizes functional decomposition to specify the tasks to be completed in order to solve a problem. The object-based approach, typified by the techniques of Yourdon, Jackson and Booth, gives more attention to data specifications than the procedural approach but still utilizes functional decomposition to develop the architecture of a system. The object-oriented approach goes beyond the object-based technique in the emphasis given to data by utilizing the relationships between objects as a fundamental part of the system architecture.
The goal in designing individual software components is to represent a concept in what will eventually be an executable form. The Abstract Data Type (ADT) is the object-based paradigm's technique for capturing this conceptual information. The class is the object-oriented paradigm's conceptual modeling tool. The design pieces resulting from the object-oriented design technique represent a tighter coupling of data and functionality than traditional ADTs. These artifacts of the design process used in conjunction with a modeling-based decomposition approach yield a paradigm, a technique, which is very natural and flexible. It is natural in the sense that the design pieces are closely identified with the real-world concepts which they model. It is flexible in the sense of quickly adapting to changes in the problem specifications.
Object-oriented remains a term which is interpreted differently by different people. Before presenting an overview of a set of techniques for the design process, we will give our perspective so the reader may judge the techniques in terms of those definitions. Briefly, we adapt Wegner's [27] definition for object-oriented languages to object-oriented design. The pieces of the design are objects which are grouped into classes for specification purposes. In addition to traditional dependencies between data elements, an inheritance relation between classes is used to express specializations and generalizations of the concepts represented by the classes.
As natural and flexible as the object-oriented technique is, it is still possible to produce a bad design when using it. We will consider a number of general design criteria and will discuss how the object-oriented approach assists the designer in meeting these criteria. We will refer to a number of design guidelines developed specifically for the object-oriented design paradigm and will discuss how these properties reinforce the concepts of good design.
The paradigm sprang from language, has matured into design, and has recently moved into analysis. The blurring of boundaries between these phases has led us to include topics in this article that are outside the realm of design, but which we consider important to understanding the design process. Since the paradigm sprang from language, we define the concepts basic to object-oriented programming in the following section.
[1]
Ralph E. Johnson,et al.
Surveying current research in object-oriented design
,
1990,
CACM.
[2]
Rebecca Wirfs-Brock,et al.
Designing object-oriented software
,
1990
.
[3]
Alan Snyder,et al.
Encapsulation and inheritance in object-oriented programming languages
,
1986,
OOPLSA '86.
[4]
Luca Cardelli,et al.
On understanding types, data abstraction, and polymorphism
,
1985,
CSUR.
[5]
Barbara Liskov,et al.
Abstraction and Specification in Program Development
,
1986
.
[6]
Barry W. Boehm,et al.
A spiral model of software development and enhancement
,
1986,
Computer.
[7]
Brian Henderson-Sellers,et al.
The object-oriented systems life cycle
,
1990,
CACM.
[8]
簡聰富,et al.
物件導向軟體之架構(Object-Oriented Software Construction)探討
,
1989
.
[9]
Roger S. Pressman,et al.
Software Engineering Principles
,
1989
.
[10]
I. Sommerville,et al.
Software engineering (2nd ed.)
,
1985
.
[11]
Joan Peckham,et al.
Semantic data models
,
1988,
CSUR.
[12]
Daniel C. Halbert,et al.
Using Types and Inheritance in Object-Oriented Programming
,
1987,
IEEE Software.
[13]
J. S. McGregor.
Object-Oriented Software Development
,
1992
.
[14]
Bertrand Meyer,et al.
Lessons from the design of the Eiffel libraries
,
1990,
CACM.
[15]
Edward Yourdon,et al.
Object-oriented analysis
,
2012
.
[16]
Grady Booch,et al.
Object-oriented development
,
1986,
IEEE Transactions on Software Engineering.
[17]
Brad J. Cox,et al.
Object-oriented programming ; an evolutionary approach
,
1986
.
[18]
Keith E. Gorlen.
An object‐oriented class library for C++ programs
,
1987,
Softw. Pract. Exp..
[19]
Edward Sciore,et al.
Object specialization
,
1989,
TOIS.
[20]
Mark Mullin.
Object Oriented Program Design With Examples in C
,
1989
.
[21]
N. Ramakrishnan,et al.
A C++ Class Browser
,
1987,
C++ Workshop.
[22]
Oscar Nierstrasz,et al.
Class management for software communities
,
1990,
CACM.
[23]
Peter Wegner,et al.
Dimensions of object-based language design
,
1987,
OOPSLA '87.
[24]
Karl J. Lieberherr,et al.
Assuring good style for object-oriented programs
,
1989,
IEEE Software.
[25]
Giorgio Bruno,et al.
PROTOB - A Hierarchical Object-Oriented CASE Tool for Distributed Systems
,
1989,
ESEC.
[26]
W BoehmBarry.
A Spiral Model of Software Development and Enhancement
,
1988
.