Python----Object-oriented software development

Source: Internet
Author: User

Object-oriented Software development

Object-oriented software development consists of the following steps:

1. Object-oriented analysis (oriented, OOA)

The system analysis stage in software engineering requires the analyst and the user to make a precise analysis and express the needs of the users, and to analyze what the software system should do, not how to do it. Object-oriented analysis, in accordance with the concept and method of object-oriented, in the analysis of the task, from the existence of the relationship between things and things, Guinan out the relevant objects (the object's ' characteristics ' and ' skills ') and objects, and will have the same properties and behavior of the object with a class to identify.

Create a demand model that reflects the work situation, at which point the model is sketchy.

2 Object-oriented design (oriented Design,ood)

According to the requirement model formed in the object-oriented analysis stage, the specific design of each part is carried out separately.

The first is the design of the class, and the design of the class may contain multiple hierarchies (leveraging inheritance and derivation mechanisms). Then, the idea and method of program design are proposed based on these classes, including the design of the algorithm.

There is no specific computer language involved in the design phase, but rather a more general description tool, such as pseudo-code or flowchart, to describe

3 Object-oriented programming (oriented Programming,oop)

Based on the results of object-oriented design, choose a computer language to write it as a program, which can be Python

4 Object-oriented testing (oriented Test,oot)

Before handing over the program to the user, the program must be rigorously tested to find errors in the program and fix it.

A pair-oriented test is tested with an object-oriented approach, using classes as the basic unit for testing.

5 Object-oriented maintenance (object oriendted soft MAINTENANCE,OOSM)

Just as there is a need for after-sales service and maintenance for any product, there are some problems with the software when it is used, or software vendors want to improve the performance of the software, which requires modification of the program.

Because of the use of object-oriented method development program, the use of program maintenance is relatively easy.

Because of the encapsulation of objects, modifying an object has little effect on other objects, and using the object-oriented method to maintain the program greatly improves the efficiency of software maintenance and is highly scalable.

In the object-oriented approach, the first development must be object-oriented programming (OOP), then OOA and Ood have not developed, so the program designer in order to write object-oriented programs, but also to go deep into the field of analysis and design, especially in the field of design, At that time, OOP actually contained two stages of the current Ood and OOP, which were very demanding for the programmer, and many people felt it difficult to master.

Now the design of a large software, is strictly in accordance with the 5 stages of object-oriented software engineering, this 5-stage work is not done by a person from start to finish, but by different people to complete, so the task of the OOP phase is relatively simple. The program writer only needs to write the program in object-oriented language according to the idea that Ood put forward.

Python----Object-oriented software development

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.