Precautions for designing a class chart

Source: Internet
Author: User
Article 6 (for discussion)

1. Although class diagrams can have many relationships and annotations, the design should be as concise as possible. The initial design: Class, interface, association, generalization, multipiclity, attribute, and operation is enough, occasionally, you can consider event/Delegate and attribute
2. abstract class is not necessarily necessary in the initial design. After expansion based on the interface, abstract class is often a matter of course. 3. Although driven by domain-driven design, more and more people are beginning to use the class chart design field, but the class chart should first focus on the center of gravity or several points of focus, rather than the so-called full, so-called look-Good
4. select several key charts to find the most useful ones with less image points, but keep them updated frequently.
5. maintain only the necessary connections and use less dependency as much as possible. Otherwise, it is easy to generate circular dependencies when more dependency is added.
6. The association class can be temporarily replaced by notation.

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: 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.