150 likes | 283 Views
2. What is UML?. UML stands for Unified Modeling LanguageUML is a diagramming language designed for Object-Oriented programmingUML can be used to describe:the organization of a programhow a program executeshow a program is usedhow a program is deployed over a networkand more. 3. Design Patte
E N D
1. 28-Sep-12 Simple UML
2. 2 What is UML? UML stands for Unified Modeling Language
UML is a diagramming language designed for Object-Oriented programming
UML can be used to describe:
the organization of a program
how a program executes
how a program is used
how a program is deployed over a network
…and more
3. 3 Design Patterns Design Patterns describe the higher-level organization of solutions to common problems
Design Patterns are a current hot topic in O-O design
UML is always used for Design Patterns
Design Patterns are used to describe refactorings
We may discuss some Design Patterns later on in this course
4. 4 UML is complex UML is a big, complicated diagramming language
UML comprises at least seven or eight different kinds of diagrams
This talk will cover just a tiny bit of one kind of diagram, the class diagram
A class diagram is often all that is needed to describe a particular Design Pattern
5. 5 Class diagrams A class diagram shows classes, interfaces, and their relationships
We’ll cover most of classes and interfaces, and a few of the most important relationships
6. 6 Classes A class is drawn as a rectangle with two or three compartments: