Design patterns, DOT NET Programming

What are design patterns?

The Design patterns are recurring solution to the recurring problems in the software architecture. There are 3 basic classification of patterns Behavioral patterns,Creational, and Structural   patterns.

Creational Patterns:

  • Abstract Factory:- This Creates an instance of the several families of classes.
  • Builder :- It Separates object construction from its representation.
  • Factory Method:- It Creates an instance of the several derived classes.
  • Prototype:- The fully initialized instance to be cloned or copied.
  • Singleton:- The class in which only a single instance can be exist.

Structural Patterns:

  • Adapter:-In this interfaces of different classes are matched.
  • Bridge:-It Separates an object's interface from its implementation.
  • Composite:-A tree structure of the simple and composite objects.
  • Decorator :-It Add authorities to the objects dynamically.
  • Façade:-The single class which represents the whole subsystem.
  • Flyweight:-It is a fine-grained instance used for effective sharing.
  • Proxy:- The object representing the other object.

Behavioral Patterns:

  • Mediator:-It Defines the simplified communication between classes.
  • Memento:-It Captures & restore an object's internal state.
  • Interpreter:-A way to include the language elements in the program.
  • Strategy:-It Encapsulates the algorithm inside a class.
  • Observer:-A way of notifying change to a no. of classes.
  • Template Method:-Defer the exact points of an algorithm to a subclass.
  • Visitor:-It Defines a new operation to a class without change.
  • Iterator:-It Sequentially access the elements of a collection.
  • Chain of Resp:-A way of passing a request b/w a chain of objects.
  • Command:-It Encapsulate a command request as an object.
  • State:-whenever its state changes alter an object's behavior.
Posted Date: 9/22/2012 6:18:58 AM | Location : United States







Related Discussions:- Design patterns, Assignment Help, Ask Question on Design patterns, Get Answer, Expert's Help, Design patterns Discussions

Write discussion on Design patterns
Your posts are moderated
Related Questions
What are the methods provided by the command object? The command objects used to connect the connection object to the Datareader or the dataset. The command object provided som

I need Kinect Fitting Room - Smart Fitting Mirror I'm presently looking for someone able to create software exactly like this fitnect (Kinect Fitting Room). Software can work

Can we get a strongly typed resource class? You can now get strongly types classes in the VS.NET intellisense as shown in the figure below. Figure: - Strongly typed re

Project Description: hi i need to develop a software scrapebox exect same with all Skills required: .NET, Java, C# Programming, Visual Basic, Visual Basic for Apps

Fixing chrome problem Problem 1- Booksearcha.asp and bookrstep2.asp on allreaders.com (bookrstep2 only accessible from bookrstep1.asp) utilize scroll down menus at times. In Chr

What is Manifest? Assembly metadata is keeps in Manifest. Manifest contains all the metadata required to do the following things     Version of assembly.     Security ide

What is a Interface? The Interface is a contract that describes the signature of the functionality. So when a class is implementing a interface it says to the outer world, that

I want help to make Clone a Website -dior.com I want all features of above mentioned site 1)Effects 2)Mobile optimization for mobile browsers of all smart phones. Etc.

What is object-oriented programming (OOP)? OOP is a method to develop logical modules, such as classes that contain properties, methods, fields, and events. An object is formed

What is the significance of Finalize method in .NET? The .NET Garbage collector does atmost all clean up activity for your objects. But unmanaged resources (like - Windows API