Software development tools (Chapter 14: Common modeling tools)

A, UML modeling Introduction 

uml: Unified Modeling Language (Unified Modeling Language - UML) is an object-oriented modeling language.

UML can achieve large and complex system of visual description of the various components, instructions and construct the system model, as well as the establishment of various documents required, is well-defined, easily expressed, powerful and universal modeling language.

For the emergence and development of object methods (focus, memory)

  • The current people to develop the information system is different from the past, complexity, diversity and interdependence is an important feature various information systems. Thus object-oriented approach emerged.
  • Object-oriented concepts think anything of the objective world are "object", the object is abstract or objective world.
  • In programming, the object data are expressed as described unified whole thing and processing the data, also called encapsulation.
  • Referred to as the OO method, which by the object-oriented analysis (OOA), object-oriented design (OOD), and object-oriented programming (OOP) composed of object-oriented method.

Description of object-oriented approach and the basic characteristics?

  • Object-oriented method referred to as Method OO.
  • It is the object-oriented analysis (OOA), object-oriented design (OOD), and object-oriented programming (OOP) composition.
  • Features: emphasis on understanding and modeling of the real world, the real world to work transforming the world of information is reduced to a minimum, it is particularly suitable for system analysis and system design.

Object-oriented concepts (focus, memory)

  • Object: objects are some attributes and operational behavior of the package, it is an abstract problem space of something. In a general sense, the object is the problem space things, it has a set of attributes and a set of operations.
  • Class: class description is almost the same object in a group. From a group of objects to abstract common data and methods, and saves them in a class, the class is the core object-oriented functionality. Class is a framework to create the object, and the object is an instance of the class. Objects in the same class may also be subclassed according to other similar features, the class hierarchy having characteristics.
  • Properties: composition based on static data, classes and objects used to describe the inherent characteristics of the nature and objects of the class, and in order to distinguish between different classes and objects.
  • Abstract: Abstract is a fundamental objective world awareness of the complexity of the method. Abstraction is a nutshell description of things or phenomena, highlighting similarities between things or phenomena, and not to consider the differences between them.
  • Packaging: Packaging is the message hidden. Object is achieved a very good package, it provides a set of data structures and a set of operations outwardly, and the internal details are hidden. Package is formed so that an object in two parts: the interface and achieve some portion. For the user interface portion is visible, and the specific implementation is not visible portion.
  • Method: The method is a process that resides in the object. The method of operation is performed when the object receiving the message, the method can also send messages to other objects or information request action.
  • Inheritance: Inheritance refers to the object inherits its class structure. Subclasses inherit the properties of its parent class, and can have their own new features and new methods.
  • Polymorphic message: In the object-oriented approach, the complete thing is to send message to the relevant subject; refers to the ability of different polymorphic forms of different things, that the subject of polymorphism having different internal structures can share the same an external interface, which in turn supports a good message mechanism, different object receives the same message may generate a completely different result is a reflection of polymorphic forms.

 

 

 

Object-oriented process generally consists of four steps: calibration relationship class libraries layer

1) identify and define objects and classes;

2) the relationship between tissue type;

3) the class configured in the frame layer;

4) establish libraries and application frameworks reusable.

Component thought (understanding)

  • Component is a reusable software components, a pre-built package code module.
  • Component technology is based on object technology, which is subject to further development of technology, but the core concept is the interface component technology

Two, Rational Rose modeling tool introduced

Object-oriented analysis and design Rational Rose (focus, memory)

  • Rational is a large software company to provide object-oriented solution.
  • Rational Rose three-tier solution is the application of the model by the user interface layer, transaction layer and the principles of data layers.

Modeling process:

1) confirm the functional requirements of application systems, and to modeling transaction processing principles;

2) the abstract object mapping needs, providing design templates and create the usual template;

3) identify and design objects or services into three models;

4) part of the software is mapped into an object and how to design components distributed across a network

Using the Rational Rose visual modeling the following features:

1) support the UML modeling.

2) using component-based development.

3) Support multi-language development.

4) support round-trip engineering.

5) full team support.

6) easy to use.

7) provide a visual diff and merge tool.

8) provides a framework for guidance.

9) provides extended interfaces to implement custom Rose.

10) substantially report generation. You can generate data dictionary

11) COBRA / IDL generated.

12) generating a database schema.

13) Microsoft repository integration.

14) forward and reverse engineering in Oracle 8.

15) Forte additional term support to enable analysis in this environment, to build enterprise applications.

Third, the use Rational Rose modeling

Three parts (key, memory) UML modeling: The general view of the embodiment with the divided design, logical design and physical design using UML modeling three parts

Example view with: Designed primarily by use case diagram, an activity diagram, a state diagram to understand the needs of users

Logic design: to use class diagrams, sequence diagrams and interaction diagrams, mainly the user's perspective the foregoing use case defined by respective classes and objects design, which can be used class diagrams showing static information system, a sequence diagram, interaction dynamic information system diagrams showing

Physical Design: In the system the physical design phase, to aid deployment view like FIG determine the physical architecture of the system, and the physical architecture of the hardware configuration of the system disclosed in

Analysis of the needs of the use case diagram and activity diagram (understand)

  • FIG embodiment mainly by using functional requirements described embodiments use the system, the system which is implementation-independent view.
  • FIG activity in essence, is a flow chart which describes the well system activities, decision points, and the sequence branches and the like.
  • Emphasize the message is a sequence diagram interaction time sequence in FIG. FIG sequence described system interaction between class and class, these interactions will be modeled as a message exchange. In other words, FIG sequence described interchanged to accomplish the desired behavior between the message and a Category.
  • Collaboration diagrams emphasize the interaction of each subject's participation in the organization. Collaboration diagrams model only relationship between the object and the interaction of these objects to each other.

System Analysis and Design (understand)

  • FIG assembly described dependencies between the software and the various components thereof. FIG assembly generally comprises three elements, i.e. components, interfaces and dependencies. Each component implements a number of interfaces, and the use of other interfaces
  • FIG class is a static view showing a relationship between the description of the system and the system of classes according to the respective class. Class diagram shows the structure of not only the information within the system, further description of the behavior in the system information.

Four, EclipseUML introduction and use of modeling tools

Installation EclipseUML (understand)

EclipseUML install a variety of ways, one user can use the automatic update Eclipse provides a mounting assembly. Another way is to go online to download user themselves

Use EclipseUML modeling (understand)

New UML Project: Open Eclipse workbench, click File in the menu bar (File) menu → New → Project → General → Project → Enter a project name → Finish

New Folder: UML Project → New → Folder → Input File Explorer, right-click the folder name → Finish

Use Case diagram of an example: a new file src case diagram UML project → Explorer, right-click the folder → New → Other → Use Case Diagram → Next button → enter a name with a use case diagram → Finish

 

Guess you like

Origin www.cnblogs.com/jalja/p/11666322.html