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 is the Scope of public/private/friend/protected/protected friend? Scope of public/private/friend/protected/protected friend Visual Basic/Visual C# Public/public all

Checking for validity of an expression - C# Program Hello can you please provide me some examples regarding to the Checking for validity of an   expression in C#.

The Problem with finalize is that the garbage collection has to make 2  rounds in order to remove the  objects which have finalize methods. The figure below will make things cle

What is XPath? XPath stands for XML Path. It is a language used to access dissimilar parts of an XML document, such as elements and attributes.

Question: (a) Using the help of a diagram, describe the layer of the .NET framework that sits between Visual Basic.NET 2005 and the operating system. (b) Explain the charac

What is DMAIC and DMADV? The Six Sigma has two key methodologies viz. DMAIC and DMADV. The DMAIC is used to improve an existing business process. While DMADV is used to create

Set up a FTP File Server and active FTP File Transfer using VB.NET The Job Description is as given: 1. Manually set up a FTP file server on a remote server. 2. Manually ad

Converting Rs. to Paisa - C# Program Need the code of C# Program for Converting Rs. to Paisa.

Question: (a) Explain the function of the main .NET data objects: Connection, Command, DataReader, DataAdapter, DataSet, DataTableCollection, and DataView. (b) Describe h

I want to prepare one web based application which have student registration and according to semester and every time it will change as per semester change according, now student ge