1. What is UML?
Unified Modeling Language (UML) is a Language used for Visual Modeling of software-intensive systems. UML is a standard language used to describe, visualize, and document products of object-oriented development systems.
Ii. Background Knowledge
The purpose of UML is to become a standard unified language that enables IT professionals to model computer applications. The main creators of UML are Jim Rumbaugh, Ivar jacson, And Grady Booch. They both initially had their own modeling methods (OMT, OOSE, and Booch), and there was competition between them. Eventually, they joined hands to create an open standard. (Does it sound familiar? This phenomenon is similar to the birth of J2EE, SOAP, and Linux .) One of the reasons why UML becomes a "standard" modeling language is that it has nothing to do with the programming language. (IBM Rational UML modeling tools are widely used in J2EE and. NET development .) Furthermore, the UML symbolic set is just a language rather than a methodology. This is important because the language and methodology are different. It can easily adapt to the business operations of any company without making any changes.
3. is process-oriented or object-oriented?
1. What is a process-oriented method?
In the process-oriented view, everything in the world is not isolated. They are closely linked with each other and are always indispensable, influencing and interacting with each other to form a small system with strict rules of cause and effect, as more small systems form larger systems, the connection between all small systems is also inseparable.
2. process-oriented difficulties?
Process-oriented difficulties are essentially process-oriented methods that regard the world as a process-oriented, and closely linked small systems constitute a close connection between each part of the system. This analysis method is useful when the demand is low, but it is insufficient for complicated system requirements. Just like the butterfly effect, the preset process is completely invisible only because of the incitement of a small wing.
3. What is an object-oriented method?
The object-oriented method regards the world as an independent object, and there is no causal relationship between them. Only driven by a certain external force can they transmit information to each other based on certain rules. These interaction processes constitute a vivid "process" in the world. They are static without external force.
From a micro perspective, these independent objects have a series of wonderful features. For example, an object has a hard shell. From the external perspective, in addition to the channel used to interact with the outside world, the object is like a black box, and nothing can be seen. This is called encapsulation. For example, two types of images are combined to form a new object, which is called aggregation. Objects can breed and generate new sub-objects, which are called inheritance. Objects are multi-faceted. They are displayed based on different requirements. This is the interface. Multiple objects may have the same face, but there are different behaviors behind this face, this is polymorphism...
From a macro perspective, the object is short-sighted. It does not know what is going on in the world or how its behavior contributes to the world, it only knows a Group of Friends associated with it (this is called Yi NAI) and maintains information exchange with them (this is called coupling ). at the same time, the object is selfish, even between every partner, they are still tenacious to protect their own territory. Only allow others to communicate with it through a small window opened by it (this is called a method. Never open up to each other.
4. How difficult is object-oriented?
He can complete the desired function, but he cannot see how it is implemented.
. Rules can be changed, so how can we implement arbitrary changes to the rules to combine them.
4. What does UML bring about?
1. Unified speech: the goal of a unified speech is to form standards and norms so that they can reach an agreed standard requirement.
2. Visualization: UML uses the original model and Representation Method to express and expose the content that is hard to clearly express through text or other words in simple graphics, accurately and intuitively describe complex meanings.
3. From the real world to the business model: modeling is a means to solve real-world problems. It analyzes and predicts through mathematical computation to find a solution to the problem.
4. From the business model to the conceptual model: the business model is the original requirement. With the business model, the business model is then transitioned to the business model.
5. from conceptual model to design model: with a detailed design model, production can be performed. Designing a model is like assembling a machine.