Wednesday, October 29, 2014

Design Patterns

  • 1     Creational Patterns è This type of pattern is responsible to create objects without instantiate objects directly using “new” operator.

                                 i.            Singleton Pattern
                               ii.            Factory Pattern
                              iii.            Abstract Factory Pattern
                             iv.            Builder Pattern
                               v.            Prototype Pattern
  • 2       Structural Pattern è This type of pattern is responsible to describe how objects and classes will be combined to create a large structure.  Here, Inheritance (class and subclass concept) is use to compose Interface.

                                 i.            Adapter Pattern
                               ii.            Bridge Pattern
                              iii.            Composite Pattern
                             iv.            Decorator Pattern
                               v.            Façade Pattern
                             vi.            Flyweight Pattern
                            vii.            Proxy Pattern
  • 3      Behavioral Patterns è This pattern describes interaction between objects. This pattern is used to describe the interaction between objects in such a way, so that objects will interact with each other in a loosely coupled manner.

                                 i.            Chain of Responsibility Pattern
                               ii.            Command Pattern 
                              iii.            Interpreter Pattern
                             iv.            Iterator Pattern
                               v.            Mediator Pattern
                             vi.            Momento Pattern
                            vii.            Observer Pattern
                          viii.            State Pattern
                             ix.            Strategy Pattern
                               x.            Template Pattern

                             xi.            Visitor Pattern

   4. Architectural Pattern ==>
            i. MVC

No comments:

Post a Comment