Successfully reported this slideshow.
Your SlideShare is downloading. ×

Design Patterns from 10K feet

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Upcoming SlideShare
Complexinterfaces
Complexinterfaces
Loading in …3
×

Check these out next

1 of 17 Ad

Design Patterns from 10K feet

Download to read offline

An introduction design patterns. Covers the idea behind design patterns, classification, origin, and objectives.

An introduction design patterns. Covers the idea behind design patterns, classification, origin, and objectives.

Advertisement
Advertisement

More Related Content

Similar to Design Patterns from 10K feet (20)

More from Naresha K (20)

Advertisement

Recently uploaded (20)

Design Patterns from 10K feet

  1. 1. Design Patterns from 10K feet Naresha K. naresha.k@gmail.com @naresha_k
  2. 2. Solution to common problems in a context
  3. 3. Designing object-oriented software is hard. Designing reusable OO software is even harder.
  4. 4. Each pattern describes a problem which occurs over and over again in our environment, and then describes the core of the solution to that problem, in such a way that you can use this solution a million times over without ever doing it in the same way twice. - Christopher Alexander
  5. 5. Elements of Design Patterns • Pattern name • Problem • Solution • Consequences
  6. 6. Classifications • Creational • Structural • Behavioural
  7. 7. Creational • Patterns that help you to create an instances of objects
  8. 8. Structural • Help you to organise (structure) classes or objects
  9. 9. Behavioural • Help you to distribute responsibilities among objects
  10. 10. Wisdom #1 Program to an interface, not an implementation
  11. 11. Wisdom #2 Encapsulate what changes
  12. 12. Wisdom #3 Favour composition to inheritance
  13. 13. Creational Patterns • Abstract Factory • Builder • Factory Method • Prototype • Singleton
  14. 14. Structural Patterns • Adapter • Bridge • Composite • Decorator • Facade • Flyweight • Proxy
  15. 15. Behavioural Patterns • Chain of Responsibility • Command • Interpreter • Iterator • Mediator • Memento • Observer • State • Strategy • Template Method • Visitor

×