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
Web Service based application: Aims and Objectives Classics Online is a Web-based book and music retailer specialising in pre-1980s hardback

This assignment requires you to design, develop and implement a token web application. It is intended to assess your mastery of the web application development concepts and ASP.NET

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

Explain collation sequence in sql server. The Collation sequences are the set of rules which determine how the data is sorted and compared. The Sorting rules can be defined wit

Create a Calculator application using Web Form with the following functions: 1.  Add 2.  Minus 3.  Multiply 4.  Divide Each of the above has to be a Web Service

What is Dispose method in .NET? The .NET provides "Finalize" method in which we can clean up our resources. But relying on this is not always better so the best is to implement

Ask question #Minimum 100 words accepWrite an ASP.NET program that allows you to create and populate a CheckBoxList control by accessing the Title field from the Movies database ta

Project Description: Take a CSV of Canadian street addresses. For every address, translate the address into a GPS coordinate. Use the GPS coordinate to test whether or not the a

What is Windows DNA architecture? The Windows Distributed internet Applications Architecture (DNA) is a Microsoft blueprint for scalable, robust, & distributed business softwar

What are value types and reference types?  Value type - bool, byte, chat, decimal, double, enum , float, int, long, sbyte, short, strut, uint, ulong, ushort. Value types are