Next, we will introduce object-oriented analysis and design.

Source: Internet
Author: User
Author: Anders James
Synchronized from: http://www.blogjava.net/AndersLin/archive/2006/11/21/82627.html

Let's take a look at booch's classic discussion of Object-Oriented Analysis and Design:
Oop: Object-oriented programming is an implementation method,ProgramIs organized into a collaborative set of objects. Each object represents an instance of a class. The class of an object is a member of the class hierarchy associated by an inheritance relationship.
OOD: Object-oriented Design is a design method. It contains an object-oriented decomposition process and a representation method to describe the logical and physical models of the system in the design, static and dynamic models.
OOA: object-oriented analysis is an analytical method that allows you to examine requirements based on the class and object views found in the vocabulary of the problem domain.
 
Classic is classic, but it is not so easy to practice. I have summarized the differences between object-oriented analysis and object-oriented design in my work:
1. The key point of object-oriented analysis is that its output can be mapped to the business system. Therefore, the products of object-oriented analysis are called business models and business behaviors. They focus on Domain Models and domain services ), and Related boundary object and controller object; and the business model interaction view above, including measurement observation behavior and accounts (or class accounts) process behavior. At this time, the design does not involve any specific framework, toolkit, and related objects that process specific implementation technologies.

2. The key to object-oriented design is that its output can be mapped to computer systems. This is because the object-oriented design is built on Object-Oriented Analysis to refine the business model and business behavior, and provide technical implementation of object-oriented technology. It is represented by combining a large number of specific frameworks, Toolkit and Related Technology Implementation objects (represented by factory, factory objects are processed for instantiation, which is the concept of a computer system ).

Although there are major differences between object-oriented analysis and design, they are sometimes not clearly differentiated. Object-Oriented Design is intended for the limited production of object-oriented analysis. From a practical point of view, if there are great difficulties in converting the analysis results into the design results, the value of the analysis results is limited.

The following is a simple list of your own object-oriented analysis design practices:
1.Analysis Phase
Analyzes object models without refining the abstraction and encapsulation of object models.
Analysis of business behavior without refined behavior hierarchy
Connect object models and business behaviors, and analyze various specification
Preliminary refinement of behavior hierarchy
Preliminary refinement of the abstract layers of the Object Model
Analyze behavior and request response modes

2.Design Phase
Design various specification implementation strategies
Further refine the behavior hierarchy
Logical decomposition of design behaviors and controllers
Further refine the abstract system of the Object Model
Design behavior and request response modes based on the Framework
Combined with the framework design behavior and the logical decomposition of the Controller

I don't know how other brothers work.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.