Design patterns in Software Design and Architecture
-
Upload
usman-hashmi -
Category
Software
-
view
67 -
download
8
Transcript of Design patterns in Software Design and Architecture
![Page 1: Design patterns in Software Design and Architecture](https://reader035.fdocuments.in/reader035/viewer/2022062420/55cd3596bb61ebe5498b4585/html5/thumbnails/1.jpg)
Usman Hashmi 13-SE-08
![Page 2: Design patterns in Software Design and Architecture](https://reader035.fdocuments.in/reader035/viewer/2022062420/55cd3596bb61ebe5498b4585/html5/thumbnails/2.jpg)
![Page 3: Design patterns in Software Design and Architecture](https://reader035.fdocuments.in/reader035/viewer/2022062420/55cd3596bb61ebe5498b4585/html5/thumbnails/3.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062420/55cd3596bb61ebe5498b4585/html5/thumbnails/4.jpg)
Should Not
![Page 5: Design patterns in Software Design and Architecture](https://reader035.fdocuments.in/reader035/viewer/2022062420/55cd3596bb61ebe5498b4585/html5/thumbnails/5.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062420/55cd3596bb61ebe5498b4585/html5/thumbnails/6.jpg)
![Page 7: Design patterns in Software Design and Architecture](https://reader035.fdocuments.in/reader035/viewer/2022062420/55cd3596bb61ebe5498b4585/html5/thumbnails/7.jpg)
Role of
Design PatternsSolve recurring design problems
![Page 8: Design patterns in Software Design and Architecture](https://reader035.fdocuments.in/reader035/viewer/2022062420/55cd3596bb61ebe5498b4585/html5/thumbnails/8.jpg)
Communication
• Awareness of Design Pattern
• Ease in understanding new process
![Page 9: Design patterns in Software Design and Architecture](https://reader035.fdocuments.in/reader035/viewer/2022062420/55cd3596bb61ebe5498b4585/html5/thumbnails/9.jpg)
Decomposing System into Objects
• Hardest Part
• Encapsulation, performance, dependencies, etc.
![Page 10: Design patterns in Software Design and Architecture](https://reader035.fdocuments.in/reader035/viewer/2022062420/55cd3596bb61ebe5498b4585/html5/thumbnails/10.jpg)
Maintainability and Reusability
• Focus on components
• Components, easy to reuse and maintain
![Page 11: Design patterns in Software Design and Architecture](https://reader035.fdocuments.in/reader035/viewer/2022062420/55cd3596bb61ebe5498b4585/html5/thumbnails/11.jpg)
Evolution
• Refactor Components, Things Evolve
• Easy to refactor Components
![Page 12: Design patterns in Software Design and Architecture](https://reader035.fdocuments.in/reader035/viewer/2022062420/55cd3596bb61ebe5498b4585/html5/thumbnails/12.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062420/55cd3596bb61ebe5498b4585/html5/thumbnails/13.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062420/55cd3596bb61ebe5498b4585/html5/thumbnails/14.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062420/55cd3596bb61ebe5498b4585/html5/thumbnails/15.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062420/55cd3596bb61ebe5498b4585/html5/thumbnails/16.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062420/55cd3596bb61ebe5498b4585/html5/thumbnails/17.jpg)