--UML database and database applications

aims

Modeling DBAS. 1
2 The expression control method of business process requirements DBAS
2 control method of an internal structure of the expression system DBAS
expression methods DBAS control system 3 designed micro
expression methods DBAS control system 4 macroscopic design
5 for expression methods DBAS macroscopic design system
6 express way to understand DBAS system implementation and deployment

DBAS Modeling

A Unified Modeling Language (the UML):
the UML is an object-oriented visualization generic (General) modeling language, which combines the advantages of Booch, OMT, and OOSE methods, a unified symbol system, and from other methods and engineering practice attracted many after the actual test concepts and techniques.
UML is only a modeling language, not a modeling approach

Modeling method includes modeling language modeling process and the two parts
1 Modeling Language: This provides a method for modeling results representing a symbol (symbol images: Visualization)
2 Process Modeling: Modeling is described steps to follow

2 UML composed
by the semantic (Natural Language) notation with (visual standard symbols), whose semantics are defined in a four-frame modeling
metametamodel: Representative everything defined
metamodel: basic elements of UML, the concept of things examples

Layer model: UML model, type, and model type Model
user model: Example uml model, the object model or model instance

Species view UML 5
structure, implementation, behavior, and environment with a view Example
13 kinds of FIG (UML2.0): Static configuration diagram of FIG behavior and two

Business process and activity diagrams

FIG activity mainly described system, use cases, and program modules execution order in the logic flow, parallel order
best describes the workflow system or subsystem
activity diagram for the low-level program modules acting similar to a flowchart, but the activity can be described in parallel in FIG. operations, and processes and intelligent serial operation described
an activity diagram has one and only one starting point, possibly multiple end points

2 system requirements and use case diagram
System Requirements: truly desired user in mind
use case model: the meet user needs as represented by the function tools
use case model by the use cases, the role and the system three kinds of part
system: various black box use case
roles: the system person or other entity to interact
embodiment used: full operation of all functions (one operation) set

The relationship between role:
universal relationship: the behavior of certain characters drawn as common behaviors that constitute the superclass

Connection relationship (correlation, associated communications): Indicates that the character can use to communicate with the embodiment, one relationship is bidirectional

With a relationship between the embodiment:
Extension: cases with a new content to be another use case
comprises (use): with a case of the use of another embodiment
associated: with the relevant cases as packaged whole

Expression of an internal structure of the system DBAS

System configuration FIG 1 class
system is generally divided into an internal configuration static structure and dynamic structure.
In UML class diagrams to describe the static structure of the system, and a sequence diagram showing a communication system to the dynamic structure of FIG.
FIG mainly expressed class model is a conceptual problem domain
class diagram by a class name, attributes and operations consisting of

The relationship between class and class:
association (aggregation (shared aggregation, composition or combination)), inheritance (or called Global China), dependence, essence (to achieve)

2 system structure and sequence diagram
for each particular use case, how to use object specification class diagram to complete the task in cases must deliver to the use of a sequence diagram
to send messages between the described system objects and the received sequence sequence diagram as long as a
sequence FIG all elements must be present in the class diagram

3 system structure and communication diagram
communication diagram is an interactive map, also known as collaboration diagrams
Communication diagram shows the interactions between objects and organize links. Do not focus on the order of interaction, the message is determined and related to concurrent threads with sequence numbers
sequence diagram emphasizes time, the communication space diagram emphasizes

Expression DBAS microscopic system design

1 and FIG micro design target
system design, details need to be considered, the UML, for details of the content available object diagrams, state diagrams spinous set time expression, and analysis of the functioning condition of a particular system described
object graph is class FIG example, the structure of describing particular time all the objects in the system, is a snapshot

2 micro design and state machine diagram
a state diagram used to describe the state of the object or about the time of transition
state of FIG only one start state, the end state may have a plurality of
transition between the state in which event-driven

FIG micro design and time
when the state makes a transition is determined by the time factor, the time chart used to describe the change in state.
Description of the driving state transition time, how much time after the transition state maintaining
time chart, the entire rectangular frame is to the lifeline

DBAS macro expression system design

Macro Design 1 and FIG package
macroscopic design means focus on research involving contact element in a relatively large range, such as bags, namespaces, subsystem
a good namespace for developers to understand and to loose such that each namespace coupling, and can meet the requirements of high cohesive namespace
package diagram showing the system in different packages, naming spatial relationship to each other or between different items, and the level of physical association is a logical hierarchy

2 macroscopic design and interaction overview diagram
is a sequence diagram and the activity diagram of FIG grafted spliced together
in a graph based activities, connected between the control flow in FIG interaction, so that the relations presented in FIG interaction
interaction overview diagram of interaction can be different FIG. incorporated in the same figure is expressed

3 macro view of design and construction in line with
the integration of external structural view of the relationship between the success or failure of the project
before the project began, the best system to be developed relationships with external systems make a preliminary definition
consistent with the structural diagram for the communication interfaces between systems, for do architecture is a tool in the early stages of the complexity of the evaluation system, the system can be maintained by reference to FIG.

DBAS system implementation of FIG assembly

FIG represents the static component of the system of FIG.
The organization used to show a set of components and dependencies. System modeling for the source code, binary distribution, physical address database, etc.

Functional logic components and design concepts are defined at the physical structure

DBAS system implementation and deployment expression

FIG system implementation and deployment of
the deployment configuration diagram of FIG known, describing the physical configuration of the system architecture of the hardware and software systems of vertical
deployment diagram illustrating entity component, such as executable programs, how to deploy the computer to the actual
deployment of the item to FIG. integration testing before providing

Published 12 original articles · won praise 0 · Views 259

Guess you like

Origin blog.csdn.net/inventertom/article/details/104777075