Object-Oriented Analysis and Design
Object-Oriented Analysis and Design
Object-Oriented Analysis and Design
Dr Ilir Gashi
Centre for Software Reliability
School of Mathematics, Computer
Science and Engineering
City University London
15th – 17th May, 2015
Hyrje
Kush eshte ligjeruesi?
Dr Ilir Gashi
Senior Lecturer ne City University London
Course Director per MSc in Management of Information Security and Risk (MISR)
http://www.city.ac.uk/people/academics/ilir-gashi
Pervoja e ligjerimit:
Team project (viti i II Bachelor)
2007-2011
Work based Project (viti i II Bachelor)
2007- deri tani
IT Security (viti i fundit Bachelor)
2011- deri tani
Information Security Management (Master)
2012- deri tani
Hulumtimet Shkencore:
Kryesishte te perqendruara ne Information Security
http://www.city.ac.uk/people/academics/ilir-gashi#profile=1
http://www.city.ac.uk/people/academics/ilir-gashi#profile=3
2
Formati i fundjaves (origjinali)
Sipas informatave nga UBT:
Ora akademike eshte 45minuta
Moduli/lenda i ka 20 ore akademike
E propozoj kete plan per fundjave:
E Premte 15 Maj:
17:30-19:00: Hyrje
19:00-19:30: Pushim
19:30-21:00: Use cases
E Shtune 16 Maj:
9:00-10.30: Class Diagrams (I)
10:30-11:00: Pushim
11.00-12:30: Tutorial – Use Cases & Class Diagrams (I)
12:30-13:30: Pushim dreke
13:30-15:00: Class Diagrams (II)
15:00-15:30: Pushim
15:30-17:00: Sequence Diagrams
E Diele 17 Maj:
9:00-10.30: Tutorial – Class Diagrams (II) & Sequence Diagrams
10:30-11:00: Pushim
11.00-12:30: State Chart Diagrams
12:30-13:30: Pushim dreke
13:30-15:00: Implementation Diagrams
15:00-15:30: Pushim
15:30-17:00: Tutorial – State Chart Diagrams & Implementation Diagrams
3
Formati i fundjaves (i ndryshuar)
Sipas informatave nga UBT:
Ora akademike eshte 45minuta
Moduli/lenda i ka 20 ore akademike
E propozoj kete plan per fundjave:
E Shtune 16 Maj:
9:00-10.30: Hyrje -
10:30-11:00: Pushim
11.00-12:30: Use cases
12:30-13:30: Pushim dreke
13:30-15:00: Class Diagrams (I)
15:00-15:30: Pushim
15:30-17:00: Tutorial – Use Cases & Class Diagrams (I)
E Diele 17 Maj:
9:00-10.30: Class Diagrams (II)
10:30-11:00: Pushim
11.00-12:30: Sequence Diagrams
12:30-13:30: Pushim dreke
13:30-15:00: State Chart Diagrams
15:00-15:30: Pushim
15:30-17:00: Implementation Diagrams
E Hene 18 Maj:
17:30-19:00: Tutorial – Class Diagrams (II) & Sequence Diagrams
19:00-19:30: Pushim
19:30-21:00: Tutorial – State Chart Diagrams & Implementation Diagrams
4
Organizimi i modulit
Sipas marrveshjes me UBT:
Une do (t’mundohem) t’flas ne Gjuhen Shqipe
Te gjithe slides (slajdat) jane ne Gjuhen Angleze
Une jam ligjerues per kete modul por nuk do te caktoj provimet, notimet
etj. Stafi i UBT do te mirren me kete
5
Acknowledgment
Slides and tutorials are based on materials
prepared by Jim Arlow (Clear View Training)
and Dr Peter Popov (City University London)
6
Introduction
Software development includes the following activities:
Requirements – capturing what the system should do
Analysis – refining and structuring the requirements
Design – realizing the requirements in systems architecture
Implementation – building the software
Testing
Object-oriented software development involves building
systems as sets of communicating objects
This course is about Object-Oriented Analysis and Design
using UML
UML is a visual modelling language that supports an
object-oriented development process
7
Rationale
In recent years, object-oriented software development methods have
come to dominate the software industry, replacing the use of
traditional structured analysis methods
The Unified Modelling Language (UML) has become a de-facto
standard for object-oriented analysis and design, and is used by both
business analysts and software developers
And is used widely in industry and in the specialised literature
Without UML you may find it difficult to read technical documentation
This module introduces UML and its use in the object-oriented
analysis and design process, and provides you with the skills you will
need to use UML in the workplace
8
Aims and objectives
To provide an understanding of
Object-Oriented Analysis and Design with UML
To follow an object-oriented development process from
requirements capture through analysis and design to
implementation
To gain practical skills in UML via tutorials
9
xref
Course book
5 ways to read this book
Cover to cover!
Fast-track
Read chapter roadmap
Look at figures & read margin notes
Read "What we have learned"
Backtrack to interesting sections
Reference
Use the TOC and detailed index
Revision ISBN:0321321278
Read "What we have learned" then backtrack to appropriate
section when you don’t understand
Use Fast-track
Dipping
Open the book at random and read a bit. This is good when you
have a minute to spare here and there. You may be surprised at
how much you will learn
We've tried to ensure there is something interesting on every page
For easy reference, some slides in this course are cross
referenced to sections in the course book
There is an example cross reference icon in the top left hand
corner of this slide
10
UML tools
Many UML tools are available.
The ones we use at City:
Visual Paradigm
Magic Draw (http://www.magicdraw.com)
Others (some free to download):
Microsoft Visio
ArgoUML: http://argouml.tigris.org/
Etc.
11
Text books
Basic text (essential) :
J. Arlow & I. Neustadt, UML 2 and the Unified Process: Practical Object-
Oriented Analysis and Design, 2nd Edition, Addison Wesley, 2005
Cay S. Horstmann, Object-Oriented Design and Patterns, 2nd Edition,
12
References
References
G. Booch, J. Rumbaugh, & I. Jacobson, The Unified Modelling Language
User Guide, 2nd Edition, Addison-Wesley, 2005.
J. Rumbaugh, I. Jacobson, & G. Booch, The Unified Modelling Language
Reference Manual, 2nd Edition, Addison-Wesley, 2004.
I. Jacobson, G. Booch, & J. Rumbaugh, The Unified Software
Development Process, Addison-Wesley, 1999.
Object Management Group, UML Specification, Version 2.3,
http://www.omg.org/spec/UML/2.3/
13
Web resources
Randy Miller, Practical UML: A Hands-On Introduction for
Developers
http://edn.embarcadero.com/article/31863
Sparx Systems, UML Tutorial
http://www.sparxsystems.com/resources/uml2_tutorial/
Allen Holub’s Quick UML Reference
http://www.holub.com/goodies/uml/
Object Management Group, UML Resource Page
http://www.uml.org/
Read Andrew Watson’s article “Visual Modelling: past, present and
future”
can download it from the OMG’s site or from Moodle.
14