Architect Express 6.7-design development Ideas-UML

Source: Internet
Author: User

What is UML? Unified Modeling Language, a language, is used for software design of a language.

In fact, the birth of a language is not great, so that most people use is great enough. UML is a great language, because the only language currently designed for software is it.

UML is still relatively simple, just a few graphics, then a few patterns, but because he is the only language, so the design ability of people can easily understand what you say, this is his great place.

I say a few of the most commonly used in software design, and my experience:

    1. Use case diagrams, which are very effective in understanding the user's needs, are used only to describe the functionality that the system needs to provide, in itself without order, and not to describe the process. Note Use extensions and inclusions. That villain can be a user or other system.
    2. Class diagram, which is the true meaning of object-oriented design, do not confuse with the ER graph, a class diagram is used to describe the class and the interaction between classes, itself can not have any attributes. Of course there are many properties, but do not use the idea of designing a database to design class diagrams. Class diagrams are only used to reflect the reality that when designing a class diagram, you can think of the data as stored in a DB or stored in XML or stored in a file, not to consider storage.
    3. Object graph, not too much to use
    4. Sequence diagrams, which describe the order of interactions between objects, focus on the chronological order of message passing between objects, which is useful, but not difficult.
    5. State diagram, state machine is it, when you are confused by the complexity of the state, use it to draw clearly, realize the use of State mode, perfect.
    6. An activity diagram, which is important, but not difficult, to represent the process control process between two or more objects while they are working on an activity.

Other I use is not much, learning this language is really important, please pay attention to. After mastering him, learning design patterns will be more handy!

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Architect Express 6.7-design development ideas-UML

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.