design patterns in software design and architecture
TRANSCRIPT
Usman Hashmi 13-SE-08
Should Not
• To design a new Software system quickly and efficiently
• To understand a new software system
Should Not
Should Not
• Speed up the development process: Reduce time consuption
• Reduce costs of application maintance• Allow developers to communicate. • Good quality products
Role of
Design PatternsSolve recurring design problems
Communication
• Awareness of Design Pattern
• Ease in understanding new process
Decomposing System into Objects
• Hardest Part
• Encapsulation, performance, dependencies, etc.
Maintainability and Reusability
• Focus on components
• Components, easy to reuse and maintain
Evolution
• Refactor Components, Things Evolve
• Easy to refactor Components
Creational Pattern in COD MW4Generation of Different Types of Enemy's with Different Weapons.
Creational Design Pattern
Factory
Design
Pattern
Creational Pattern in COD MW4Selection of Different Types of Weapon during playing.
Creational Design Pattern
Abstract Factory Design Pattern
Structural Pattern in COD MW4
Structural Design PatternDecorator
Design Pattern
Adding of Silencer ,red dot and Grande launcher in a gun(MP4).
Structural Pattern in COD MW4
Structural Design Pattern
Facade Design Pattern
Game core logic is creating the enemies inaction of our killing.
Behavioral Pattern in COD MW4
Behavioral Design PatternObserver
Design Pattern
Get the Key Press by Player to perform action.