SlideShare a Scribd company logo
Application of Software Design Pattern Presented By Prosunjit Biswas System Developer Cention AB. Email:prosun.csedu@gmail.com
Outline Uses of Observer Pattern Uses of Factory Pattern Uses of Singleton pattern How D.P Helps development
Observer Pattern One Server / Subject One/many clients / observers Client can subscribe anytime Client can de-subscribe anytime Server updates client as soon as it has an update
Observer Patten in use I want my customers always  get updated with my products RSS Feed We add a feed in our feed reader and when RSS feed has an update, it appear in our reader automatically Implementing news server
Factory Pattern Factory pattern helps to create an object an creation time of a common subclass.
Factory Pattern in Use Avoiding the nested if … else … block to create object on condition. To create random shapes ( box ,circle , square ,  … ) in paint program. To load different database tables on demand from user input
Singleton Pattern Singleton helps to access an non sharable resource in a disciplined manner Only one ( or fixed number ) object of a class (resource)
Singleton in Use Creating single database connection object Creation of non sharable code igniter base class  Creation of non sharable JQuery base Class
How Design Pattern Helps Development DP show us how to build systems with good OO design qualities. Patterns are proven OO experiences. Pattern helps modularization Pattern provides a shared vocabulary. It increases development time by faster communication

More Related Content

PPTX
Observer
PDF
Factory Design Pattern
PPT
Factory Method Design Pattern
PPTX
Design patterns Structural
PPTX
Design Pattern
PPT
Abstract Factory Pattern
PPTX
Decorator pattern
PPTX
Design Patterns - Abstract Factory Pattern
Observer
Factory Design Pattern
Factory Method Design Pattern
Design patterns Structural
Design Pattern
Abstract Factory Pattern
Decorator pattern
Design Patterns - Abstract Factory Pattern

Viewers also liked (16)

PPTX
SOFTWARE QUALITY ASSURANCE AND DESIGN PATTERNS
PDF
Design Pattern Explained CH1
PDF
Java web programming
PPTX
Software Testing
PPTX
Overview of Software QA and What is Software Quality
PPTX
Design pattern
PDF
Android (software) Design Pattern
PPTX
Design Pattern in Software Engineering
PPTX
Cost of software quality ( software quality assurance )
PPTX
Observer Software Design Pattern
PDF
Creational Design Patterns
PPTX
Design pattern - Software Engineering
PPTX
Software Quality Assurance
PPTX
Architectural Design Pattern: Android
PPT
Software quality assurance lecture 1
PPT
Introduction To Software Quality Assurance
SOFTWARE QUALITY ASSURANCE AND DESIGN PATTERNS
Design Pattern Explained CH1
Java web programming
Software Testing
Overview of Software QA and What is Software Quality
Design pattern
Android (software) Design Pattern
Design Pattern in Software Engineering
Cost of software quality ( software quality assurance )
Observer Software Design Pattern
Creational Design Patterns
Design pattern - Software Engineering
Software Quality Assurance
Architectural Design Pattern: Android
Software quality assurance lecture 1
Introduction To Software Quality Assurance
Ad

Similar to Application Of Software Design Pattern (20)

PPTX
PPTX
Developing on Windows 8
PDF
Innovation Generation - The Mobile Meetup: Android Best Practices
PPT
Design patterns
PPTX
Sys02 best way to create a share point app
PPT
Requirement Gathering & Rapid Prototyping
PPTX
AI Builder Deep Dive Power BI User Group Washington DC
PPTX
Windows 8 BootCamp
PPTX
Software Architecture and Design Patterns Notes.pptx
PPT
Unit 2-Design Patterns.ppt
PDF
Developing maintainable Cordova applications
PPTX
AI Builder Deep Scottish Summit 2020
PPTX
Design patterns creational patterns
PDF
Java Design Patterns Interview Questions PDF By ScholarHat
PPTX
CDassingment in arba minch university ppt
PPT
A Technique of Building Custom Development Environment for Embedded Software ...
PDF
PPTX
AI Builder Deep Dive
PPT
Lecture 4 software process model (2)
PPTX
Better User Experience with .NET
Developing on Windows 8
Innovation Generation - The Mobile Meetup: Android Best Practices
Design patterns
Sys02 best way to create a share point app
Requirement Gathering & Rapid Prototyping
AI Builder Deep Dive Power BI User Group Washington DC
Windows 8 BootCamp
Software Architecture and Design Patterns Notes.pptx
Unit 2-Design Patterns.ppt
Developing maintainable Cordova applications
AI Builder Deep Scottish Summit 2020
Design patterns creational patterns
Java Design Patterns Interview Questions PDF By ScholarHat
CDassingment in arba minch university ppt
A Technique of Building Custom Development Environment for Embedded Software ...
AI Builder Deep Dive
Lecture 4 software process model (2)
Better User Experience with .NET
Ad

Recently uploaded (20)

PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
cuic standard and advanced reporting.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Encapsulation_ Review paper, used for researhc scholars
Chapter 3 Spatial Domain Image Processing.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Spectral efficient network and resource selection model in 5G networks
Dropbox Q2 2025 Financial Results & Investor Presentation
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Building Integrated photovoltaic BIPV_UPV.pdf
Empathic Computing: Creating Shared Understanding
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
MYSQL Presentation for SQL database connectivity
Review of recent advances in non-invasive hemoglobin estimation
Mobile App Security Testing_ A Comprehensive Guide.pdf
cuic standard and advanced reporting.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Digital-Transformation-Roadmap-for-Companies.pptx
Programs and apps: productivity, graphics, security and other tools
Build a system with the filesystem maintained by OSTree @ COSCUP 2025

Application Of Software Design Pattern

  • 1. Application of Software Design Pattern Presented By Prosunjit Biswas System Developer Cention AB. Email:prosun.csedu@gmail.com
  • 2. Outline Uses of Observer Pattern Uses of Factory Pattern Uses of Singleton pattern How D.P Helps development
  • 3. Observer Pattern One Server / Subject One/many clients / observers Client can subscribe anytime Client can de-subscribe anytime Server updates client as soon as it has an update
  • 4. Observer Patten in use I want my customers always get updated with my products RSS Feed We add a feed in our feed reader and when RSS feed has an update, it appear in our reader automatically Implementing news server
  • 5. Factory Pattern Factory pattern helps to create an object an creation time of a common subclass.
  • 6. Factory Pattern in Use Avoiding the nested if … else … block to create object on condition. To create random shapes ( box ,circle , square , … ) in paint program. To load different database tables on demand from user input
  • 7. Singleton Pattern Singleton helps to access an non sharable resource in a disciplined manner Only one ( or fixed number ) object of a class (resource)
  • 8. Singleton in Use Creating single database connection object Creation of non sharable code igniter base class Creation of non sharable JQuery base Class
  • 9. How Design Pattern Helps Development DP show us how to build systems with good OO design qualities. Patterns are proven OO experiences. Pattern helps modularization Pattern provides a shared vocabulary. It increases development time by faster communication