object oriented process basics

Post on 24-May-2015

164 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

OOP BASICSP for Process

Oleg Yaroshevych, 2013

ProcessThe Object Oriented

Analysis

The Object Oriented Process

DesignProgramming

Analysis is:

The Object Oriented Process

picture

Design is:

The Object Oriented Process

model

Why Design?

The Object Oriented Process

simplifies system evolutiondefines likely to change aspects

maintains a common vocabularyhighlights anti-patterns

The Game Plan

The Object Oriented Process

define context and modespick right architecture

name principal objectsdesign models

document interfaces

The Object Oriented Process

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

by Martin Fowler

The Object Oriented Process

Design Qualityin from the start

The Object Oriented Process

Clarity and Simplicityeasier to see harder to do

The Object Oriented Process

Separate Aspectsmutable and immutable

The Object Oriented Process

Separate Aspectsmutable and immutable

The Object Oriented Process

Loose Couplingmakes changes easier

Design Problems

The Object Oriented Process

redundant modelspremature optimizationlack of abstract thinking

The Object Oriented Process

the thingProgramming is:

Why OOP?

The Object Oriented Process

ability to design big-ass systemsstability

reusability

The Object Oriented Process

Encapsulate Statekeeps them independent

The Object Oriented Process

Object Services areFunctionality

The Object Oriented Process

Communicate by Messages

SO

OOA -> OOD -> OOP

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

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

OOA -> OOD -> OOP

BONUS TRACKUML Basics

Why UML?

Bonus Track: UML Basics

same models in all stagesstick to abstraction

model the concept, not implementationget the ‘big picture’

Sequence Diagram

Bonus Track: UML Basics

State Diagram

Bonus Track: UML Basics

Class Diagram

Bonus Track: UML Basics

UML Problems

Bonus Track: UML Basics

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

HOW IT WORKSIn real world

->HOW IT WORKS

In real world

THANK YOU

Q&A

top related