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
ASP.net developer for a mobile project I am looking for an Icenium developer using the Visual Studio extension and jquery. The application will incorporate with an already wr

Read an Array and perform Sorting - C# program Can any one assist me in performing sorting of an array.

Update present website backend (asp.NET) as well as build Rest API to expose data I will soon build an HTML5 cross-platform mobile app. I previously have a website with a backen

What is ACID fundamental? What are transactions in SQL SERVER? The transaction is a sequence of operations performed as a single logical unit of work..The logical unit of work

Project Description: Simple task on analysis svn and github .NET, PHP, Engineering, Software Architecture

I have to develop a Google Map Fix .NET Site on Android(maybe Cross Browser issue) Project Description: A developer has implemented a characteristic which involves data from

Explain the limitations of AJAX. The following are the limitations of AJAX: It is complex to bookmark a particular state of the application. Function given in the code-be

Problem: (a) Define the term ViewState as used in the ASP.NET framework. (b) What is a StateBag class? Give a simple example to support your answer. (c) (i) Distingui

Prepare an Application in C# or C++ Project Description: We are seeking someone who can write a program in C# or C++. The concept is to develop the program using a Cross P

I want help to update and customize existing POS system Project Description: We have pharmacy chain stores with existing POS system linked via VPN to server with local user o