3.1 Introduction
3.1 简介
Object-orientation is a technique for system modeling. It offers a number of concepts which are well suited for this purpose.
面向对象的设计是一种软件系统建模的技术, 他提供一系列的概念和方法来更好实现这个目标.
Using Object-orientation as a base ,we model the system as a number of objects that interact.
通过应用面向对象的建模技术作为基础,我们把软件系统模型化为一组互相交互的对象集合.
A model which is designed using the Object-oriented technology is often easy to understand, as it can be directly related to the reality. Thus with such a design method, only a small semantic gap will exist between reality and the model.
因为面向对象的设计技术设计的模型能够直接和现实的世界中的实体进行直接映射, 所以这种模型通常非常容易理解.通过使用面向对象的设计方法,我们可以最大限度的缩小模型和真实世界的差距(semantic gap),这样后续实现的系统能够更好的拟合真实的世界.
Amongst the most prominent qualities of a system designed with an Object-oriented method are the following:
. Understanding of the system is easier as the semantic gap between the system and the reality is small.
.Modifications to the model tend to be local as they often result from individual item, which is represented by a single object.
对于一个基于面向对象方法设计的系统来说,他最显著的特征有两点,一个是理解清晰,另外一个是修改简单. 首先基于面向对象的技术构建的模型系统能够最大限度的拟合现实世界, 因此非常容易让客户和其他开发人员理解; 另外针对系统的变更可以采取面向单一的条目进行修改方法来实现, 通常需要修改的单一条目在软件系统实现中就是修改一个单一的对象, 这样一来对系统的变更可以限制在一个局部(LOCAL)的范围.