How many design patterns are there in asp.net
| There are three types of Design Pattern
1 Creational 2 Structural3 Behavioral Creational Design PatternAbstract Factory Creates an instance of several families of classes Builder Separates object construction from its representationFactory Method Creates an instance of several derived classes Prototype A fully initialized instance to be copied or clonedSingleton A class of which only single instance can exist |
|
|
Structural Design Pattern
Adapter Match interfaces of different classes Bridge Separates an objects interface from its implementationComposite A tree structure of simple and composite objects Decorator Add responsibilities to objects dynamicallyFacade A single class that represents an entire subsystem Flyweight A fine grained instance used for efficient sharingProxy An object representing another object Behavioral Design PatternChain of Resp. A way of passing a request between a chain of objects Command Encapsulate a command request as an objectInterpreter A way to include language elements in a program Iterator Sequentially access the elements of a collectionMediator Defines simplified communication between classes Memento Capture and restore an objects internal stateObserver A way of notifying change to a number of classes State Alter an objects behavior when its state changesStrategy Encapsulates an algorithm inside a class Template Method Defer the exact steps of an algorithm to a subclassVisitor Defines a new operation to a class without change | |
