the unified modeling language n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
The Unified Modeling Language PowerPoint Presentation
Download Presentation
The Unified Modeling Language

Loading in 2 Seconds...

play fullscreen
1 / 18

The Unified Modeling Language - PowerPoint PPT Presentation


  • 126 Views
  • Uploaded on

The Unified Modeling Language. Overview of theory and practice of the OMG Unified Modeling Language v1.4. What Is Software ‘Modeling’?. The design of software applications before coding. Just like the plans for a house. Blueprints Elevation Site map. All models are wrong;

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'The Unified Modeling Language' - lisle


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
the unified modeling language

The Unified Modeling Language

Overview of theory and practice of the OMG Unified Modeling Language v1.4

what is software modeling
What Is Software ‘Modeling’?
  • The design of software applications before coding.
  • Just like the plans for a house.
    • Blueprints
    • Elevation
    • Site map

All models are wrong;

Some models are useful.

Overview of theory and practice of the OMG Unified Modeling Language v1.4

what is the unified modeling language
What Is the Unified Modeling Language?
  • A standard of the Object Management Group.
  • Informal language for specifying software systems.
    • Helps visualize structure and design.
    • Provides design documentation.
  • Independent of any methodology.
    • James Rumbaugh’s (OMT) classes and objects.
    • Many of Grady Booch’s diagrams.
    • Ivar Jacobson’s use cases.

It’s most likely that a large software

application will fail to meet all of its

requirements on time and on budget.

Overview of theory and practice of the OMG Unified Modeling Language v1.4

oose typical requirements document
OOSE: Typical Requirements Document

The software application HTMLProc will process HTML

pages on a SUN E450. Design engineers will use HTMLProc to process files one at a time, before manually entering their contents into an existing SQL database. HTMLProc will correct the style, stripping unviewable whitespace, replacing tabs with four spaces, and testing the syntax according to the world wide web consortium HTML 4.01 specification. HTMLProc will finish by returning 0 and writing the HTML <body> to the console if the input file was found to be conformant. Otherwise, it will return 1 and write a meaningful error message to the console.

Requirements gathering is

The first step in a software

engineering lifecycle.

Overview of theory and practice of the OMG Unified Modeling Language v1.4

oose find classes attributes and methods
OOSE: Find Classes, Attributes, and Methods

The software application HTMLProc will process HTML

pages on a SUN E450. Design engineers will use HTMLProc to process files one at a time, before manually entering their contents into an existing SQL database. HTMLProc will correct the style, stripping unviewable whitespace, replacing tabs with four spaces, and testing the syntax according to the world wide web consortium HTML 4.01 specification. HTMLProc will finish by returning 0 and writing the HTML <body> to the console if the input file was found to be conformant. Otherwise, it will return 1 and write a meaningful error message to the console.

Nouns are candidates for actors, classes, and attributes.

Verbs are candidates for methods.

Actions are candidates for use cases.

Overview of theory and practice of the OMG Unified Modeling Language v1.4

standard uml diagram categories
Structure diagrams

Class

Object

Component

Deployment

Management diagrams

Package

Subsystem

Model

Behaviour diagrams

State

Use case

Sequence

Collaboration

Activity

Standard UML Diagram Categories

Not all diagrams are

needed for most models!

Overview of theory and practice of the OMG Unified Modeling Language v1.4

uml use case diagram
UML Use Case Diagram
  • Shows who will use a system.
  • Describes behaviour from a user‘s perspective.
  • Offers a functional description of the system.
  • Shows what kinds of interactions to expect.

Overview of theory and practice of the OMG Unified Modeling Language v1.4

uml activity diagram
UML Activity Diagram
  • Shows logical activity.
  • Shows flow of data.
  • Differs from state diagram.
    • Has fork and join symbols.
    • Show complex conditions.
    • Are not stateful.

Overview of theory and practice of the OMG Unified Modeling Language v1.4

uml state diagram
UML State Diagram
  • Shows stateful behaviour.
  • Is most useful when:
    • Representing little concurrency.
    • Having no complex conditions.
  • Does not directly show actions.

Revise style

Check syntax for conformance to HTML 4.01

Overview of theory and practice of the OMG Unified Modeling Language v1.4

uml class diagram
UML Class Diagram
  • Describes static structure.
  • Same thing as ‚class‘ in Java or C++.

The classes of our main package HTMLProc.

Overview of theory and practice of the OMG Unified Modeling Language v1.4

uml package diagram
UML Package Diagram
  • Shows how classes can be divided into modules.
  • Used as a high-level view of the overall static model.

As a future enhancement, HTMLProc might save itself directly to a database.

Overview of theory and practice of the OMG Unified Modeling Language v1.4

uml deployment diagram simple
UML Deployment Diagram, Simple
  • Shows physical platforms and network connections.
  • Nodes are hardware, components are software.

Here is our minimal hardware and software installation.

Overview of theory and practice of the OMG Unified Modeling Language v1.4

uml deployment diagram complex
UML Deployment Diagram, Complex
  • Shows physical platforms and network connections.
  • Nodes are hardware, components are software.

As a future enhancement, HTMLProc might spawn a listener to serve incoming

client requests.

Overview of theory and practice of the OMG Unified Modeling Language v1.4

uml component diagram
UML Component Diagram

HTMLProc might just be one of many components, but the developer doesn’t need to know that at all.

Overview of theory and practice of the OMG Unified Modeling Language v1.4

uml object diagram
UML Object Diagram
  • Represents run time structure.
  • Each object is an instantiated class.

Overview of theory and practice of the OMG Unified Modeling Language v1.4

uml sequence diagram
UML Sequence Diagram
  • How objects collaborate.
  • Shows messages passed.
  • Shows sequence in time.

Overview of theory and practice of the OMG Unified Modeling Language v1.4

uml collaboration diagram
UML Collaboration Diagram
  • Cross between a object and sequence diagram.
  • Shows spatial organization and interaction.

Same as shown on sequence diagram.

Overview of theory and practice of the OMG Unified Modeling Language v1.4

slide18

Fin

Overview of theory and practice of the OMG Unified Modeling Language v1.4