The comparison between the structured method and the object-oriented method

Source: Internet
Author: User

The comparison between the structured method and the object-oriented method

At present, both the structured method and the object-oriented method are common software development methods in computing technology, however, it is necessary to decide which development method to use, according to the actual situation of the project. Of course, the perfect development method is not exist, the real practical system development method is often a combination of multiple methods, because a project development often take into account the impact of many factors, in a certain development method is impossible to meet the development needs of a project. Below, I will talk about my own understanding of the two popular software development approaches, the structured approach and the object-oriented approach.

1. Structured approach

Structured method is a traditional software development method, which is composed of three parts: structural analysis, structured design and structured programming. Its basic idea is: the solution process of a complex problem is carried out in stages, and this decomposition is top-down, layered decomposition, so that each stage of processing problems are controlled by people easy to understand and processing within the scope.

1.1. Structural Analysis

Analyze the current data, make a DFD, and then use DFD to analyze the process of data processing.

1.2. Structured design

Transform the information shown in the data flow diagram into a design description of the program structure. At this stage, firstly, through the result of demand analysis, a concrete system design scheme is constructed, then the internal structure and algorithm of each module are determined based on the overall design, and the program flowchart of each module is generated.

1.3. The basic principles of structured methods

Abstract principle, decomposition principle, modularization principle.

1.4. Limitations of structured methods

(1) Structural analysis method in the demand analysis is not based on a certain intrinsic things as the basic unit, but in the global scope of the data as the center for analysis, so that our analysis of the results can not directly reflect a problem; (2) There is no definite conversion rule from analysis to design in structured method , usually with man-made randomness, so easy because of the misunderstanding of the design document and the actual problem of the demand difference; (3) The structural method has weak adaptability to the change of demand, the change of a function often causes a lot of changes of data flow, so the reuse rate of the software designed by the structured method is low.

2. Object-oriented approach

Object-oriented approach is the general term of a class of methods for system development guided by object-oriented thinking. This kind of method takes the object as the center, takes the class and the inheritance as the construction mechanism to abstract the real world, and constructs the corresponding software system.

2.1. Object-Oriented Analysis

The key of object-oriented analysis is to identify the objects in the problem domain, analyze the relationship between them, establish the static model of the system, and construct the structure of the system through the static model. Then the dynamic model is constructed according to the order of execution and interaction of the system.

2.2. Object-oriented design

Object-oriented design needs to extend the results of the analysis phase into a technical solution, but from OOA to Ood is not a conversion, but rather an adjustment and addition, the addition of human-computer interaction, the construction and deployment of parts, the control drive part, the Data Management section.

2.3. Object-oriented method defects

Object-oriented methods sometimes the determination of objects is ambiguous, so it is difficult to guarantee the correctness of software description.

Conclusion

From the above analysis, we can find that the structure method is more suitable for the function-based system such as operating system, real-time processing system, and the object-oriented method is applicable to the database, information management system and other data-based operating systems with fewer operations.

Reference documents:

[1] Zhangli, Qiu. Comparative analysis of structured methods and object-oriented methods [J]. Shaanxi Normal University Journal of Natural Science, 2001,29 (2).

[2] Miuhuai buckle, Gaoxiaore, Li Gang. Comparison and combination of structure method, object-oriented method and formal method [J]. Computer Engineering and Science, 1999, 21 (4): 28~29.

[3] Kang Shaoming. Comparison and discussion on structured methods and object-oriented methods [J]. Today's science court, 2010.

The comparison between the structured method and the object-oriented method

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.