In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail how to model UML. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
UML modeling
Why do you want to learn UML
UML is short for UnifiedModelingLanguage (Unified Modeling language). UML is a language that visualizes, elaborates, constructs and documents artifacts in software-intensive systems. Product {Artifact} refers to a variety of products produced in the process of software development, such as models, source code, test cases and so on.
1) UML modeling can achieve the following purposes:
2) using the model can better understand the problem.
3) the use of the model can enhance the communication between people.
4) using models can find errors or omissions earlier.
5) the design results can be obtained by using the model.
6) the model provides the basis for the code of *.
2. The characteristics of UML modeling
1) the main features of UML include:
2) uniform standard
3) object-oriented. UML is a modeling language that supports object-oriented software development.
4) strong visualization and expressive ability
5) independent of the process, UML does not depend on the specific software development process.
6) the concept is clear, the modeling representation is simple, the graphic structure is clear, and it is easy to grasp and use.
III. Views in UML modeling
The views in UML include use case view (UseCaseView), logical view (LogicalView), implementation view (ImplementationView), process view (ProcessView), deployment view (DeploymentView) and so on. As shown in the following figure:
Logical view. Logical views focus on functions, including not only the functions visible to users, but also the "auxiliary function modules" that must be provided in order to achieve user functions; they may be logical layers, functional modules, and so on.
Development view. The development view focuses on the package, including not only the source programs to be written, but also third-party SDK and off-the-shelf frameworks, class libraries, and system software or middleware on which the developed system will run. There may be some mapping between the development view and the logical view: for example, the logical layer is generally mapped to multiple packages, and so on.
Working with views. The processing view focuses on runtime concepts such as processes, threads, objects, as well as related concurrency, synchronization, communication, and so on. Dealing with the relationship between the view and the development view: the development view generally focuses on the static dependency of the package at compile time, and these programs will behave as objects, threads, and processes when they are running. the processing view is more concerned about the interaction of these runtime units.
Physical view. The physical view focuses on how the "target program and its dependent runtime and system software" is finally installed or deployed to the physical machine, and how to deploy the machine and network to meet the requirements of the reliability and scalability of the software system. The relationship between the physical view and the processing view: the processing view pays special attention to the dynamic execution of the target program, while the physical view pays attention to the static location of the target program; the physical view is an architectural view that comprehensively considers the interaction between the software system and the whole IT system.
4. UML modeling tools
There are many UML modeling tools in the market, the more popular ones are RationalRose,MicrosoftVisio, EnterpriseArchitect, VisualUML and so on. The UML modeling tool used in the UML Modeling-object-oriented Design series is EnterpriseArchitect7.0, which is relatively easy to use.
5. The application field of UML
UML has a wide range of applications, of which the most commonly used is modeling software systems. The main areas are: enterprise information systems, banking and financial systems, telecommunications, transportation, national defense, aviation, retail, scientific computing, distributed Web-based services. UML can also be used to describe other non-software systems, such as the composition and workflow of an organization, and so on.
VI. The composition of UML
The "UML Modeling-object-oriented Design" series describes some common UML diagrams, including use case diagrams (UseCaseDiagram), class diagrams (ClassDiagram), activity diagrams (ActivityDiagram), sequence diagrams (SequenceDiagram), state diagrams (StatechartMachineDiagram), deployment diagrams (DeploymentDiagram), business process models (BusinessProcessModel), data modeling (DataModelingDiagram), and so on.
This is the end of the article on "how to Model UML". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.