SlideShare a Scribd company logo
Design Patterns Authors: Deepak Kumar & Swapnil Chandra
Design Patterns were introduced to the software community in ' Design Patterns ' by software architect Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides Colloquially known as the "gang of four" A Design Pattern is a known solution to commonly occurring problems or scenarios in software design.  It is a kind of a template or structure on which one can code the application. What Are Design Patterns?    
Common Software Design Patterns ... Singleton Pattern MVC (i.e. Model-View-Controler)  Factory Method Observer 
Singleton Pattern ... This pattern is used in applications when only a single instance of a resource is required Most common type of resource, on which this can be applied is database connection You want to share the database handle in an application because it's an overhead to keep opening and closing connections, particularly during a single page fetch   An object is a singleton if the application can include one and only one of that object at a time
Model-View-Controller, this is the most commonly used design pattern This patterns separates the business logic and presentation logic in such a way that any changes in the presentation logic should not interfere with the business logic and vice-versa This is done with the help of a middle object called controller whose job is to take the request from the view pass it on the model if required present the updated/new view to the user. MVC Pattern ...
Factory Method is a object oriented creational pattern The method is used to create and initiate objects for classes Use of factories gives the programmer the opportunity to abstract the specific attributes of an Object into specific subclasses which create them i.e. it defines an interface for creating an object, but let the subclasses decide which class to instantiate. Factory Pattern ...
Observer pattern allows one object (the observer) to watch another (the subject) The subject object notify the observer object if the subject’s state changes (Conceptually, the Observer pattern in something like a trigger in a database, which runs a stored procedure when a table row is modified The main advantage of this pattern is that it decouples the observer from the subject The subject doesn’t need to know anything special about its observers. Instead, the subject simply allows observers to subscribe. Observer Pattern ...
Design patterns have two major benefits. First, they provide you with a way to solve issues related to software development using a proven solution. The solution facilitates the development of highly cohesive modules with minimal coupling Second, design patterns make communication between designers more efficient. Software professionals can immediately picture the high-level design in their heads when they refer the name of the pattern used to solve a particular issue when discussing system design. Benefits of Design Patterns ...
Conclusion ... There are many other reational/structural/ behavioral patterns, like Iterator, Adapter, Prototype, State etc.  But in order to implement a pattern effectively a detailed study is done at our end here at Mobicules Systems to understand the nature of the problem and how a particular design pattern solves it.
We can do the following for your app: Conceptualize, or participate in the process Design it, incorporating top notch ease of use  Architect it to be future ready Develop it fast, using the best solution available Maintain it efficiently Scale it to a huge user base
We offer services in the areas of: Social Networks and Platforms Development Symfony apps Development: Social Networks, Travel Sites, CRM systems etc Drupal apps Development: Social Networks, Brochure sites etc Facebook and OpenSocial apps Development Mobile apps Development – iPhone, Android, J2ME, Blackberry, WinMo
Contact Us Development Center: B-35, First Floor, Sector-57, Noida-201301 (INDIA) Phone: +91-9873778077, +91-1204358187+1-213-291-1527 E-mail:  [email_address] www.mobicules.com

More Related Content

PPTX
Design pattern
PPTX
Design patterns
PPTX
Design patterns
PPTX
PPTX
Design Patterns
PPT
Introduction to design patterns
PPTX
4 memory management bb
PPT
Introduction To Design Patterns
Design pattern
Design patterns
Design patterns
Design Patterns
Introduction to design patterns
4 memory management bb
Introduction To Design Patterns

What's hot (7)

PDF
Workflow diagramming and information architecture
PDF
Gof design pattern
PPTX
Design Patterns - General Introduction
PPT
HCI 3e - Ch 7: Design rules
PPT
Intro to UML - Use Case diagrams
PDF
Gof Design Pattern
PPTX
Design Principles to design Patterns
Workflow diagramming and information architecture
Gof design pattern
Design Patterns - General Introduction
HCI 3e - Ch 7: Design rules
Intro to UML - Use Case diagrams
Gof Design Pattern
Design Principles to design Patterns
Ad

Viewers also liked (12)

PPT
Introduction To Elgg 1224395615749768 9
PPT
Design Pattern
PPTX
Design patterns
PPT
5 Design Patterns Explained
PPT
CS6201 Software Reuse - Design Patterns
PPTX
Designpattern
PPT
MVC and Other Design Patterns
PDF
Creational Design Patterns
PPTX
How I Learned To Apply Design Patterns
PPT
Introduction to Design Patterns and Singleton
PDF
Design Patterns : Solution to Software Design Problems
PDF
Software Design Patterns - Selecting the right design pattern
Introduction To Elgg 1224395615749768 9
Design Pattern
Design patterns
5 Design Patterns Explained
CS6201 Software Reuse - Design Patterns
Designpattern
MVC and Other Design Patterns
Creational Design Patterns
How I Learned To Apply Design Patterns
Introduction to Design Patterns and Singleton
Design Patterns : Solution to Software Design Problems
Software Design Patterns - Selecting the right design pattern
Ad

Similar to Design patterns (20)

PPT
Design pattern in android
PPTX
Typescript design patterns applied to sharepoint framework - Sharepoint Satur...
PPTX
Design patterns
DOCX
A report on mvc using the information
PPT
04 designing architectures
PPT
Design Pattern with Actionscript
PPT
ActionScript Design Patterns
PPTX
Object Oriented Approach for Software Development
PDF
Software design.edited (1)
PDF
Why Design Patterns Are Important In Software Engineering
PPT
Design patterns
PPT
ModLate: An Innovative Model For The Construction Of Web Templates For CMSs
PDF
Software Engineering with Objects (M363) Final Revision By Kuwait10
PPT
Oops design pattern intro
PPTX
C7-Design _ Implementation_uml_khalid .pptx
PPTX
UNIT3 PART2.pptx dhfdifhdsfvgudf dhfbdhbffdvf
PPTX
Android DesignArchitectures.pptx
PPTX
Design patterns
PPTX
Pattern oriented architecture for web based architecture
PPTX
Software Architecture for Agile Development
Design pattern in android
Typescript design patterns applied to sharepoint framework - Sharepoint Satur...
Design patterns
A report on mvc using the information
04 designing architectures
Design Pattern with Actionscript
ActionScript Design Patterns
Object Oriented Approach for Software Development
Software design.edited (1)
Why Design Patterns Are Important In Software Engineering
Design patterns
ModLate: An Innovative Model For The Construction Of Web Templates For CMSs
Software Engineering with Objects (M363) Final Revision By Kuwait10
Oops design pattern intro
C7-Design _ Implementation_uml_khalid .pptx
UNIT3 PART2.pptx dhfdifhdsfvgudf dhfbdhbffdvf
Android DesignArchitectures.pptx
Design patterns
Pattern oriented architecture for web based architecture
Software Architecture for Agile Development

More from Mobicules Technologies (8)

PPTX
Symfony vs CodeIgniter
PPT
Mobicules iPhone profile
PPT
Introduction To Symfony
PPTX
Social Media & Viral Marketing
PPT
Facebookmonetization 1223735605493423 8
PPT
Facebookrequirelogin 1228296175829554 8
PPT
Delaying call to require_login for accessing Facebook applications: Benefits,...
PPT
Introduction to ELGG, the Open Source Social Network Platform
Symfony vs CodeIgniter
Mobicules iPhone profile
Introduction To Symfony
Social Media & Viral Marketing
Facebookmonetization 1223735605493423 8
Facebookrequirelogin 1228296175829554 8
Delaying call to require_login for accessing Facebook applications: Benefits,...
Introduction to ELGG, the Open Source Social Network Platform

Recently uploaded (20)

PDF
1 - Historical Antecedents, Social Consideration.pdf
PPTX
A Presentation on Touch Screen Technology
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
Mushroom cultivation and it's methods.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Chapter 5: Probability Theory and Statistics
PPTX
1. Introduction to Computer Programming.pptx
PPTX
Tartificialntelligence_presentation.pptx
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
A comparative analysis of optical character recognition models for extracting...
1 - Historical Antecedents, Social Consideration.pdf
A Presentation on Touch Screen Technology
WOOl fibre morphology and structure.pdf for textiles
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Mushroom cultivation and it's methods.pdf
Programs and apps: productivity, graphics, security and other tools
Building Integrated photovoltaic BIPV_UPV.pdf
Accuracy of neural networks in brain wave diagnosis of schizophrenia
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Chapter 5: Probability Theory and Statistics
1. Introduction to Computer Programming.pptx
Tartificialntelligence_presentation.pptx
Group 1 Presentation -Planning and Decision Making .pptx
MIND Revenue Release Quarter 2 2025 Press Release
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Encapsulation_ Review paper, used for researhc scholars
A comparative analysis of optical character recognition models for extracting...

Design patterns

  • 1. Design Patterns Authors: Deepak Kumar & Swapnil Chandra
  • 2. Design Patterns were introduced to the software community in ' Design Patterns ' by software architect Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides Colloquially known as the "gang of four" A Design Pattern is a known solution to commonly occurring problems or scenarios in software design.  It is a kind of a template or structure on which one can code the application. What Are Design Patterns?    
  • 3. Common Software Design Patterns ... Singleton Pattern MVC (i.e. Model-View-Controler)  Factory Method Observer 
  • 4. Singleton Pattern ... This pattern is used in applications when only a single instance of a resource is required Most common type of resource, on which this can be applied is database connection You want to share the database handle in an application because it's an overhead to keep opening and closing connections, particularly during a single page fetch   An object is a singleton if the application can include one and only one of that object at a time
  • 5. Model-View-Controller, this is the most commonly used design pattern This patterns separates the business logic and presentation logic in such a way that any changes in the presentation logic should not interfere with the business logic and vice-versa This is done with the help of a middle object called controller whose job is to take the request from the view pass it on the model if required present the updated/new view to the user. MVC Pattern ...
  • 6. Factory Method is a object oriented creational pattern The method is used to create and initiate objects for classes Use of factories gives the programmer the opportunity to abstract the specific attributes of an Object into specific subclasses which create them i.e. it defines an interface for creating an object, but let the subclasses decide which class to instantiate. Factory Pattern ...
  • 7. Observer pattern allows one object (the observer) to watch another (the subject) The subject object notify the observer object if the subject’s state changes (Conceptually, the Observer pattern in something like a trigger in a database, which runs a stored procedure when a table row is modified The main advantage of this pattern is that it decouples the observer from the subject The subject doesn’t need to know anything special about its observers. Instead, the subject simply allows observers to subscribe. Observer Pattern ...
  • 8. Design patterns have two major benefits. First, they provide you with a way to solve issues related to software development using a proven solution. The solution facilitates the development of highly cohesive modules with minimal coupling Second, design patterns make communication between designers more efficient. Software professionals can immediately picture the high-level design in their heads when they refer the name of the pattern used to solve a particular issue when discussing system design. Benefits of Design Patterns ...
  • 9. Conclusion ... There are many other reational/structural/ behavioral patterns, like Iterator, Adapter, Prototype, State etc.  But in order to implement a pattern effectively a detailed study is done at our end here at Mobicules Systems to understand the nature of the problem and how a particular design pattern solves it.
  • 10. We can do the following for your app: Conceptualize, or participate in the process Design it, incorporating top notch ease of use Architect it to be future ready Develop it fast, using the best solution available Maintain it efficiently Scale it to a huge user base
  • 11. We offer services in the areas of: Social Networks and Platforms Development Symfony apps Development: Social Networks, Travel Sites, CRM systems etc Drupal apps Development: Social Networks, Brochure sites etc Facebook and OpenSocial apps Development Mobile apps Development – iPhone, Android, J2ME, Blackberry, WinMo
  • 12. Contact Us Development Center: B-35, First Floor, Sector-57, Noida-201301 (INDIA) Phone: +91-9873778077, +91-1204358187+1-213-291-1527 E-mail: [email_address] www.mobicules.com