design patterns in software design and architecture

17
Usman Hashmi 13-SE-08

Upload: usman-hashmi

Post on 14-Aug-2015

74 views

Category:

Software


8 download

TRANSCRIPT

Page 1: Design patterns in Software Design and Architecture

Usman Hashmi 13-SE-08

Page 2: Design patterns in Software Design and Architecture
Page 3: Design patterns in Software Design and Architecture

Should Not

• To design a new Software system quickly and efficiently

• To understand a new software system

Page 4: Design patterns in Software Design and Architecture

Should Not

Page 5: Design patterns in Software Design and Architecture

Should Not

• Speed up the development process: Reduce time consuption

• Reduce costs of application maintance• Allow developers to communicate. • Good quality products

Page 6: Design patterns in Software Design and Architecture
Page 7: Design patterns in Software Design and Architecture

Role of

Design PatternsSolve recurring design problems

Page 8: Design patterns in Software Design and Architecture

Communication

• Awareness of Design Pattern

• Ease in understanding new process

Page 9: Design patterns in Software Design and Architecture

Decomposing System into Objects

• Hardest Part

• Encapsulation, performance, dependencies, etc.

Page 10: Design patterns in Software Design and Architecture

Maintainability and Reusability

• Focus on components

• Components, easy to reuse and maintain

Page 11: Design patterns in Software Design and Architecture

Evolution

• Refactor Components, Things Evolve

• Easy to refactor Components

Page 12: Design patterns in Software Design and Architecture

Creational Pattern in COD MW4Generation of Different Types of Enemy's with Different Weapons.

Creational Design Pattern

Factory

Design

Pattern

Page 13: Design patterns in Software Design and Architecture

Creational Pattern in COD MW4Selection of Different Types of Weapon during playing.

Creational Design Pattern

Abstract Factory Design Pattern

Page 14: Design patterns in Software Design and Architecture

Structural Pattern in COD MW4

Structural Design PatternDecorator

Design Pattern

Adding of Silencer ,red dot and Grande launcher in a gun(MP4).

Page 15: Design patterns in Software Design and Architecture

Structural Pattern in COD MW4

Structural Design Pattern

Facade Design Pattern

Game core logic is creating the enemies inaction of our killing.

Page 16: Design patterns in Software Design and Architecture

Behavioral Pattern in COD MW4

Behavioral Design PatternObserver

Design Pattern

Get the Key Press by Player to perform action.

Page 17: Design patterns in Software Design and Architecture