Document directory
Abstract: this is an article about the unified modeling language, that is, the basic diagram used in UML. In this article, I will discuss the structure diagram, which is a new graph type that has been proposed in UML 2. Since the purpose of this series of articles is to help people understand
class. In an aggregation relationship, the subclass instance can be longer than the parent class. to present an aggregation relationship, draw a solid line from the parent class to the partial category, draw an unfilled prism at the end of the parent class association.
2. Combined Aggregation
A combination of aggrega
There are many tools for painting class diagrams. I have learned how to use staruml to draw class diagrams. However, this tool is used in Java. For vs programming C ++, I personally feel that Using Visio is better. The following uses a block class in the previous Tetris game as an example to describe it.
1
a lot of computer technology books or articles commonly used in UML class diagram, the author of the book describes each design pattern is the class diagram + Object-oriented language applet ( in C #, its basic knowledge of a different article)+ character dialogue interpreta
: This article mainly introduces how to understand the uml class diagram. if you are interested in the PHP Tutorial, refer to it. In a UML diagram, there are several common relationships: Generalization, implementation, Association, Aggregation, and Composition ), dependency
Get the analysis finished product demand is the line design UML (with class diagram) or the first design database?
Reply content:
Get the analysis finished product demand is the line design UML (with class diagram) or the fir
In object-oriented processing. The core of the class diagram, which provides the primary rules for defining and using objects.It is the descriptive description of the class, the interface and the relationship between them, which shows each class in the static structure of the system, the model. First,
Class digraphs are the most commonly used diagrams in UML.
A class, which is a rectangle at a distance and a rectangle at a closer look, but sometimes a rectangle or a set of two or three rectangles.
A class usually has some attributes and methods. The class
The UML class diagram is the basis for learning the design pattern. Through the UML class diagram, you can better communicate with everyone and easily express your own design ideas. It is like Mandarin, is a standard language.
Cur
Php design pattern-UML class diagram. Preface I have been using php for more than two years. I have prepared and written some frequently-used design patterns based on my own practical experience. of course, I should first understand the design patterns before using the design patterns.
I have been using php for more than two years. I have prepared to write freque
Generalization relationship (generalization)The inheritance structure of a class is represented in UML as: generalization (generalize) and implementation (realize):The relationship of the inheritance relationship is is-a, and if the two objects can be represented by is-a, it is an inheritance relationship: (.. Be ...)Eg: Bicycles are cars, cats are animalsA direct representation of a generalized relationshi
is not possible to change the implementation inherited from the parent class at run time. To make things worse, the parent class usually defines at least part of the behavior of the subclass, and any changes to the parent class can affect the behavior of the child class. If the inherited implementation is not suitable
Preface I have been using PHP for more than two years. I have prepared and written some frequently-used design patterns based on my own practical experience. before using the design patterns, I must first understand the design patterns, therefore, we will first explain the UML class diagram. Through UML
1. Introduction It has been two years since I began to learn programming from a freshman year. From the initial study of the Html,js,javese, to Javaee,android, I can also write some toys. The learning process also unconsciously understood some of the so-called design Patterns , and now intends to learn the system. Learn to book The art of Design mode----------------------the software developer. The so-called design patterns, that is, the predecessors of a similar problem of the abstract solution
examine the concrete logical relation."Code embodiment": member variable"Arrows and points": solid lines with hollow diamonds, diamonds pointing to the whole5. combination (composition)"Combinatorial relationship": the relationship between the whole and the part, but part cannot leave the whole and exist alone. If the company and the Department is a whole and part of the relationship, no company there is no department.A combinatorial relationship is a relationship that is stronger than the ag
1. IntroductionIt has been two years since I began to learn programming from a freshman year. From the initial study of the Html,js,javese, to Javaee,android, I can also write some toys. The learning process also unconsciously understood some of the so-called design Patterns , and now intends to learn the system. Learn to book the art of Design mode----------------------the software developer. The so-called design patterns, that is, the predecessors of a similar problem of the abstract solution
When reading other people's code without detailed documentation, how to quickly see the entire code structure (class structure) becomes a real problem. Today, I will introduce a method for automatically generating UML diagrams. Suppose I have a project folder: icultivator, which has a file Root. php (in fact, no matter how many levels of directories, multiple files can be used ). Lt ;? Phpabst
When reading
1. UML Class Diagram Foundation--the representation method of various relations
2. Automated remote control UML diagram
Main requirements for automated remote control:
1. Telnet to the client without entering a password. Allows you to log in multiple units simultaneou
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.