《面向对象分析与设计》读书摘要与学习笔记(二)

来源:互联网 发布:杭州蓝韵网络 编辑:程序博客网 时间:2024/05/21 22:55
The 3 basic kinds of develop method
a. Top-down structured design
b. Data-driven design
c. Object-oriented design


The Object Model
1. First- and Early Second- Generation Programming Language
                      Data (Most of them are global)
                      Subprogrammes
   Often contains tremendous amount of cross-coupling among subprogramms.

2. Late Second- and Early Third Generation
                      Data
                      Subprogrammes
   Subprogrammes were appreciated as a way to abstract programme functions.

3. Late Third-Generation
                      Modules
                      Date
                      Subprogrammes
   Modules used to group the subprogrammes that were most likely to change together. But most language of this generation required the semantic consistency among module interfaces.

4. Small- to Moderate-Sized Apps Using Object-Oriented Programming Language
   
   The elements is classes and objects. They are well-organized in logic.

5. Large Apps
                   LayerA
                   LayerB
                   LayerC
                   LayerD
                   LayerE
  Any layer acts as an implementation of the upper layer and abstrction of the lower layer.

A introduction to OOP, OOD and OOA

OOP
The definition: Object-oriented programming is a method of inplementation in which programmes are organized as cooperative collections of objects, each of which represents an instance of some class, and whose classes are all member of a
hierarchy of classes united via inheritance relationships.

OOD
The definition: Object-oriented design is a method of design encompassing the process of object-oriented decomposition and a notation for depicting both logical and physical as well as static and dynamic models of the system under design.

OOA
The definition: Object-oriented analysis is a method of analysis that examines requirements from the perspective of the classes and objects found in the vocabulary of the problem domain.

                                                                             ---------- to be continue 
原创粉丝点击