object oriented process basics

31
OOP BASICS P for Process Oleg Yaroshevych, 2013

Upload: oleg-yaroshevych

Post on 24-May-2015

169 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Object Oriented Process basics

OOP BASICSP for Process

Oleg Yaroshevych, 2013

Page 2: Object Oriented Process basics

ProcessThe Object Oriented

Page 3: Object Oriented Process basics

Analysis

The Object Oriented Process

DesignProgramming

Page 4: Object Oriented Process basics

Analysis is:

The Object Oriented Process

picture

Page 5: Object Oriented Process basics

Design is:

The Object Oriented Process

model

Page 6: Object Oriented Process basics

Why Design?

The Object Oriented Process

simplifies system evolutiondefines likely to change aspects

maintains a common vocabularyhighlights anti-patterns

Page 7: Object Oriented Process basics

The Game Plan

The Object Oriented Process

define context and modespick right architecture

name principal objectsdesign models

document interfaces

Page 8: Object Oriented Process basics

The Object Oriented Process

‘Models are not right or wrong; they are more or less useful’

by Martin Fowler

Page 9: Object Oriented Process basics

The Object Oriented Process

Design Qualityin from the start

Page 10: Object Oriented Process basics

The Object Oriented Process

Clarity and Simplicityeasier to see harder to do

Page 11: Object Oriented Process basics

The Object Oriented Process

Separate Aspectsmutable and immutable

Page 12: Object Oriented Process basics

The Object Oriented Process

Separate Aspectsmutable and immutable

Page 13: Object Oriented Process basics

The Object Oriented Process

Loose Couplingmakes changes easier

Page 14: Object Oriented Process basics

Design Problems

The Object Oriented Process

redundant modelspremature optimizationlack of abstract thinking

Page 15: Object Oriented Process basics

The Object Oriented Process

the thingProgramming is:

Page 16: Object Oriented Process basics

Why OOP?

The Object Oriented Process

ability to design big-ass systemsstability

reusability

Page 17: Object Oriented Process basics

The Object Oriented Process

Encapsulate Statekeeps them independent

Page 18: Object Oriented Process basics

The Object Oriented Process

Object Services areFunctionality

Page 19: Object Oriented Process basics

The Object Oriented Process

Communicate by Messages

Page 20: Object Oriented Process basics

SO

Page 21: Object Oriented Process basics

OOA -> OOD -> OOP

OOA -> OOD -> OOP OOA -> OOD -> OOP

OOA -> OOD -> OOP OOA -> OOD -> OOP

OOA -> OOD -> OOP

Page 22: Object Oriented Process basics

BONUS TRACKUML Basics

Page 23: Object Oriented Process basics

Why UML?

Bonus Track: UML Basics

same models in all stagesstick to abstraction

model the concept, not implementationget the ‘big picture’

Page 24: Object Oriented Process basics

Sequence Diagram

Bonus Track: UML Basics

Page 25: Object Oriented Process basics

State Diagram

Bonus Track: UML Basics

Page 26: Object Oriented Process basics

Class Diagram

Bonus Track: UML Basics

Page 27: Object Oriented Process basics

UML Problems

Bonus Track: UML Basics

no one knows how to draw properlystick to code for codeit is a huge language

Page 28: Object Oriented Process basics

HOW IT WORKSIn real world

Page 29: Object Oriented Process basics

->HOW IT WORKS

In real world

Page 30: Object Oriented Process basics

THANK YOU

Page 31: Object Oriented Process basics

Q&A