14
University of Palestine Department of Information Technology Done by: Montaser El sabea Supervisors: yassmen El Bobo 2009-2010 Unified Modeling Language (UML)

University of Palestine Department of Information Technology Done by: Montaser El sabea Supervisors: yassmen El Bobo 2009-2010 Unified Modeling Language

Embed Size (px)

Citation preview

Page 1: University of Palestine Department of Information Technology Done by: Montaser El sabea Supervisors: yassmen El Bobo 2009-2010 Unified Modeling Language

University of PalestineDepartment of Information Technology

Done by:Montaser El sabea

Supervisors:yassmen El Bobo

2009-2010

Unified Modeling Language (UML)

Page 2: University of Palestine Department of Information Technology Done by: Montaser El sabea Supervisors: yassmen El Bobo 2009-2010 Unified Modeling Language

Data Flow Diagram (DFD) Activity Diagrams Sequence Diagram Benefits of using UML sequence

diagrams

Outline

Page 3: University of Palestine Department of Information Technology Done by: Montaser El sabea Supervisors: yassmen El Bobo 2009-2010 Unified Modeling Language

Unified Modeling Language (UML) Unified Modeling Language (UML) is a

standardized general-purpose modeling language in the field of software engineering. The standard is managed, and was created by, the Object Management Group.

UML includes a set of graphical notation techniques to create visual models of software-intensive systems

Page 4: University of Palestine Department of Information Technology Done by: Montaser El sabea Supervisors: yassmen El Bobo 2009-2010 Unified Modeling Language

Data Flow Diagram (DFD)

a structured, diagrammatic technique for showing the functions performed by a system and the data flowing into, out of, and within it

DFDs are used to answer the following data-oriented questions about a target system:

What processing is done?  When? How? Where? By whom?

What data is needed?  By whom? for what? Data Flow Diagram show: the processes within the system the data stores (files) supporting the system's operation the information flows within the system the system boundary interactions with external entities

Page 5: University of Palestine Department of Information Technology Done by: Montaser El sabea Supervisors: yassmen El Bobo 2009-2010 Unified Modeling Language
Page 6: University of Palestine Department of Information Technology Done by: Montaser El sabea Supervisors: yassmen El Bobo 2009-2010 Unified Modeling Language
Page 7: University of Palestine Department of Information Technology Done by: Montaser El sabea Supervisors: yassmen El Bobo 2009-2010 Unified Modeling Language

Activity Diagrams

Activity diagrams describe the workflow behavior of a system. Activity diagrams are similar to state diagrams because activities

are the state of doing something When to Use Activity Diagrams Activity diagrams should be used in conjunction with

other modeling techniques such as interaction diagrams and state diagrams

Activity Diagrams are also useful for: analyzing a use case by describing what actions need to take place and when they should occur;  describing a complicated sequential algorithm;  and modeling applications with parallel processes.

Page 8: University of Palestine Department of Information Technology Done by: Montaser El sabea Supervisors: yassmen El Bobo 2009-2010 Unified Modeling Language

Stack

Push

InqueuePop

Not Full

Not Empty

Dequeue PrintNot Empty

Full

Empty

Page 9: University of Palestine Department of Information Technology Done by: Montaser El sabea Supervisors: yassmen El Bobo 2009-2010 Unified Modeling Language

Sequence Diagram

A Sequence diagram depicts the sequence of actions that occur in a system. The invocation of methods in each object, and the order in which the invocation occurs is captured in a Sequence diagram. This makes the Sequence diagram a very useful tool to easily represent the dynamic behavior of a system

Page 10: University of Palestine Department of Information Technology Done by: Montaser El sabea Supervisors: yassmen El Bobo 2009-2010 Unified Modeling Language

Example of sequence diagram of Printing article

User

item:Article

copyrightForm:Form

request

complete

myWorkspace:Workspace

myPrinter:Printer

request

return

copyright OK

deliver

article OK

print send

confirminform

delete

Page 11: University of Palestine Department of Information Technology Done by: Montaser El sabea Supervisors: yassmen El Bobo 2009-2010 Unified Modeling Language

Benefits of using UML sequence diagrams Help you discover architectural, interface and logic

problems early. Collaboration tool. Sequence diagrams are valuable

collaboration tools during design meetings because they allow you to discuss the design in concrete terms.

Documentation. Sequence diagrams can be used to document the dynamic view of the system design at various levels of abstraction, which is often difficult to extract from static diagrams or even the complete source code.

Page 12: University of Palestine Department of Information Technology Done by: Montaser El sabea Supervisors: yassmen El Bobo 2009-2010 Unified Modeling Language

Use case diagram

created from a Use-case analysis. Its purpose is to present a graphical overview of the functionality provided by a system in terms of actors, their goals (represented as use cases), and any dependencies between those use cases.

Page 13: University of Palestine Department of Information Technology Done by: Montaser El sabea Supervisors: yassmen El Bobo 2009-2010 Unified Modeling Language

Use Case Diagrams :e.g.

Page 14: University of Palestine Department of Information Technology Done by: Montaser El sabea Supervisors: yassmen El Bobo 2009-2010 Unified Modeling Language

Reruns

Software engineering book System analysis and design slide Web: http://en.wikipedia.org/wiki/

Unified_Modeling_Language