UML Learning Notes---Understanding UML,UML related knowledge, related concepts
Source: Internet
Author: User
6.UML Unified Modeling Language;
Object-oriented Analysis and design (OOA/D)
Up process and waterfall model;
A. Distribution of software responsibilities;
--------------------------------------
1.UML is not a ooa/d, nor a method, it is just a graphical representation;
2. If there is no object thought, then UML or any case tool has no meaning
3. We need a language for ooa/d, which is both a thinking tool and a form of communication
4. Therefore, we will apply UML in ooa/d
5. Analysis: A survey of problems and needs
6. Design: A conceptual solution to meet the needs
7. Object-oriented analytics (object-oriented analysis): Discovering and describing objects within a problem domain
8. Object-oriented design (object-oriented): How to define software objects and how they work together to achieve
Requirements
----------------------------------------------------------
7.UML Graphics notation:
Example: Developing a dice game
If the total number of points is 7 win the game, otherwise lose;
Process: Define a use case--(how to use it when using software, the use case, which is to determine the target first)---> Define the domain model
Type (business model: gamer, DICE)---> Define interaction Diagram (game players play dice games, dice games contain dice, players cast
Dice, dice What attributes, define the interaction between models---> Define design class Diagram
1. Assigning object responsibilities and drawing interaction diagrams: Ood is concerned with: the definition of software object--responsibility and writing;
Note: Responsibility is an act, and behavior is a method;
2. Define the Design class diagram: Populate the class, and derive inspiration from the domain model and interaction diagram. Define software classes, including properties, methods, and so on,
For example, there are throwing methods, and the method of acquiring points, that is, the corresponding responsibilities;
3. Local design class diagram example of dice game
4. Dice game domain model; equivalent to design database, er diagram, interaction between them
------------------------------------------------------------------
1. What is UML
Standard Definition: Unified Modeling Language is a visual language that describes the construction and documentation of system artifacts;
UML: is a large graphical representation system
Three ways to apply UML:
Sketch
Blueprint
Programming languages
---------------------------------------------------
Learn the elements of UML:
notation-Graphics
Process (UML is not process-independent, but preferably for RUP)
Tools. (eg: ratinal Rose);
Some companies do not: if you are not good at design design, there is a disjointed process, such as a program, the pre-set
In the case of programming, there may be changes, not in accordance with the design of UML to do.
---------------
1. So in the UML design time: To apply from the time needed, should not be done too thin, need to understand generally
2. Figure in the analysis and design, guide the development
3. May be in the development process, need to draw, or after the development of the UML diagram, so for the subsequent maintenance personnel, convenient dimension
Conditioner
4. Can generate code by MBA, model-driven;
5. For example, just write a user's class diagram, you can get the code of this class, UML diagram can be directly converted to code;
6. You can generate platform-related models based on platform-independent models, and generate code;
7. Work of Drawing graphics: ratinal Rose (unimportant)
-------------------------------------------------------------------
1.uml:up and Waterfall model
What is up?
The software development process (sofware-development process) describes how to construct, deploy, and maintain software in a unified
Process (the Unified software development process) is a popular iterative method for constructing object-oriented systems
The process of software development, in particular, the rational unified process (Rational unified processes RUP) is a
Detailed refinement, and has been widely adopted
Up can also introduce useful practices in other methods, such as extreme Programming (Extreme PROGRAMMING,XP) XP
Test-driven Development (Test-driven development) refactoring (refactoring) and continuous integration (continuous
Integration) etc...
-------------------------------------------------
The architecture in 2.up is a variety of models; Use cases: The goal of developing software;
3. Iteration: Represents a period of time, part, part of the do; To interact with the user, the user put forward comments and change.
Incremental development: Slowly increasing the software expansion function
4. What is the waterfall life cycle: trying to define all or most of the requirements before programming
And usually used to create a complete design before programming;
Try to define a reliable plan or schedule before you start
There will always be changes in the development, but the waterfall model is to eliminate this change, before programming to do a lot of detailed
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.