Professional Documents
Culture Documents
Introduction Part 1. ISD for well structured data relational and other DBMS Info storage (modeling, normalization) Info retrieval (Relational algebra, Calculus, SQL) DB integrated APIs Part 2. ISD for systems with non-uniformly structured data Basics of web-based IS (www, web2.0, ) Markups, HTML, XML Design tools for Info Sys: UML
Agenda
UML as a design and documentation tool When to use UML Common UML diagrams: - Structure diagrams -- Class; Component; Object; Composite structure; Deployment; Package - Behavior diagrams -- Activity; Use case; State machine diagrams -- Interaction diagrams: Communication; Sequence; Timing; Interaction overview Concluding remarks
Universal Modeling Language - Provides tools to describe system, components, and their interactions - Useful in design - Useful in documentation and system updates/modifications/debugs - Natural tool for Objet Oriented Programming
UML overview
Graphical description of all information about a system
-- Static information : diagrams to document the structure of the system -- dynamic information: diagrams that describe how the system behaves
Structure Class Object Component Deployment Composite structure Package Behavior Use case Activity State machine Interaction Sequence Interaction overview Communication Reference for the following: Randy Miller, EDM
Timing
Class diagram
Class diagrams give an overview of the system by showing the classes and relationships between them. Most closely related to the data structure of the program Every class diagram has classes, associations, and multiplicities.
Package diagrams
Class diagrams can become very large and complex; objects (or packages) can be used to group classes into higher level entities, i.e. packages Example: a business model in which the classes are grouped into packages
Object diagrams
Sometimes each instance of a class itself may have a complex structure. Object diagrams are used to illustrate the structure of one instance of an object Example: a university Department that contain lots of other Departments.
Activity diagrams
Activity diagrams focus on the flow of activities involved in a single process (similar to flowcharts), showing how activities are related to one another.
Example: Activity: withdraw money from ATM machine Classes involved: customer, ATM, bank
Sequence diagrams
A sequence diagram shows how operations are carried out: what messages are sent and when. Time flows from top to bottom of diagram.
Example: Sequence diagram for making a hotel room booking
UML on wikipedia Randy Millers excellent introduction to UML Object Modeling Groups UML web-page