Object-oriented design steps

Source: Internet
Author: User

1. Extract the class according to the requirement description

The extraction class information can refer to the noun and verb information in the requirement description, extract various kinds of attributes and methods, compare the properties and methods of each class, extract the public properties and methods, and then extract the parent class.

2. According to the requirements of the requirements, can build class factories, using polymorphic technology, flexible use of various classes.

3. According to the logic request, extracts the business class, mainly carries on the data operation to each object.

4. According to the Man-machine interface operation (System prompts the information), extracts the UI class, namely the test class, completes the user and the program interaction.

5. Optimize the design and comb the running process.

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.