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
Why The JavaScript Validation Not Run on the Asp.Net? The Asp.Net Button Is post backed on the server & not yet Submit & when It goes to the server its states is lost so if we

ASP .NET MVC Tutor Project Description: Work with me and assist with troubleshooting lessons, describe in easy to understand terms how to accomplish certain tasks, provide co

What is Data Independence? Data independence means that "the application is independent of the storage structure and access method of data". In other words, the ability to cha

What is the difference between delegate and events? Actually events use delegates in the bottom. But they also add an extra layer on the delegates, hence forming the publisher

How to decide on the design consideration to take a Datagrid, datalist or repeater? So many make a blind choice of choosing datagrid directly, but that is not the right way.

Inventory billing and Management application in .net Project Description: Digital Inventory management Main Features         Multi user User friendly windows based s

Project Description: I require a flight scheduling website, including billing and basic aircraft management; this will be used by a local piloting school There is no requirin


Difference between VB.NET and C# This is the main debatable issue in .NET community and everyone treat their languages like religion. It is a very important matter which lan

Explain the concept of Web services in brief. A Web service may be explained as an independent and self-sustained unit of a software application that is hosted on the Web and i