Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Short Intro to Design Patterns

Jacob Mather
December 16, 2012

Short Intro to Design Patterns

We wanted to have a short overview of the basic concepts behind design patterns. These are mainly for reference by the talk attendees as they may not make much sense out of context.

Jacob Mather

December 16, 2012
Tweet

More Decks by Jacob Mather

Other Decks in Programming

Transcript

  1. Common  Design  Pa-erns  
    Things  you  will  see  in  so5ware.  
    Over,  and  over,  and  over  again.  
    Jacob  Mather  
    @thejmather  
    h-p://jmather.com  

    View full-size slide

  2. Framework  Design  Pa-erns  
    •  MVC  
    •  MVCS  
    Jacob  Mather  
    @thejmather  
    h-p://jmather.com  

    View full-size slide

  3. MVC  
    •  Model  
    •  View  
    •  Controller  
    Jacob  Mather  
    @thejmather  
    h-p://jmather.com  

    View full-size slide

  4. MVC  
    •  Model  
    •  View  
    •  Controller  
    SomeImes  I  am  heavy  
    Jacob  Mather  
    @thejmather  
    h-p://jmather.com  

    View full-size slide

  5. MVC  
    •  Model  
    •  View  
    •  Controller   SomeImes  I  am  heavy  
    Jacob  Mather  
    @thejmather  
    h-p://jmather.com  

    View full-size slide

  6. MVC  
    •  Model  
    •  View  
    •  Controller  
    I’m  always  light  
    Jacob  Mather  
    @thejmather  
    h-p://jmather.com  

    View full-size slide

  7. MVCS  
    •  Model  
    •  View  
    •  Controller  
    •  Service  
    Jacob  Mather  
    @thejmather  
    h-p://jmather.com  

    View full-size slide

  8. MVCS  
    •  Model  
    •  View  
    •  Controller  
    •  Service  
    I’m  always  light  
    Jacob  Mather  
    @thejmather  
    h-p://jmather.com  

    View full-size slide

  9. MVCS  
    •  Model  
    •  View  
    •  Controller  
    •  Service  
    I’m  always  light  
    Jacob  Mather  
    @thejmather  
    h-p://jmather.com  

    View full-size slide

  10. MVCS  
    •  Model  
    •  View  
    •  Controller  
    •  Service  
    I’m  always  light  
    Jacob  Mather  
    @thejmather  
    h-p://jmather.com  

    View full-size slide

  11. MVCS  
    •  Model  
    •  View  
    •  Controller  
    •  Service   I’m  always  heavy  
    Jacob  Mather  
    @thejmather  
    h-p://jmather.com  

    View full-size slide

  12. MVCS  
    •  Model  
    •  View  
    •  Controller  
    •  Service   I’m  always  heavy-­‐ish  
    Jacob  Mather  
    @thejmather  
    h-p://jmather.com  

    View full-size slide

  13. Pa-erns  You  May  Have  Seen  
    •  Composite  Pa-ern  
    •  Decorator  Pa-ern  
    •  Proxy  Pa-ern  
    •  Iterator  Pa-ern  
    •  Observer  Pa-ern  
    •  Strategy  Pa-ern  
    •  Singleton  Pa-ern  
    Jacob  Mather  
    @thejmather  
    h-p://jmather.com  

    View full-size slide

  14. Pa-erns  You  May  Have  Seen  
    •  Composite  Pa-ern  
    •  Decorator  Pa-ern  
    •  Proxy  Pa-ern  
    •  Iterator  Pa-ern  
    •  Observer  Pa-ern  
    •  Strategy  Pa-ern  
    •  Singleton  Pa-ern  
    Jacob  Mather  
    @thejmather  
    h-p://jmather.com  

    View full-size slide

  15. Pa-erns  You  May  Have  Seen  
    •  Composite  Pa-ern  
    •  Decorator  Pa-ern  
    •  Proxy  Pa-ern  
    •  Iterator  Pa-ern  
    •  Observer  Pa-ern  
    •  Strategy  Pa-ern  
    •  Singleton  Pa-ern  
    Jacob  Mather  
    @thejmather  
    h-p://jmather.com  

    View full-size slide

  16. Pa-erns  You  May  Have  Seen  
    •  Composite  Pa-ern  
    •  Decorator  Pa-ern  
    •  Proxy  Pa-ern  
    •  Iterator  Pa-ern  
    •  Observer  Pa-ern  
    •  Strategy  Pa-ern  
    •  Singleton  Pa-ern  
    Jacob  Mather  
    @thejmather  
    h-p://jmather.com  

    View full-size slide

  17. Pa-erns  You  May  Have  Seen  
    •  Composite  Pa-ern  
    •  Decorator  Pa-ern  
    •  Proxy  Pa-ern  
    •  Iterator  Pa-ern  
    •  Observer  Pa-ern  
    •  Strategy  Pa-ern  
    •  Singleton  Pa-ern  
    Jacob  Mather  
    @thejmather  
    h-p://jmather.com  

    View full-size slide

  18. Pa-erns  You  May  Have  Seen  
    •  Composite  Pa-ern  
    •  Decorator  Pa-ern  
    •  Proxy  Pa-ern  
    •  Iterator  Pa-ern  
    •  Observer  Pa-ern  
    •  Strategy  Pa-ern  
    •  Singleton  Pa-ern  
    Jacob  Mather  
    @thejmather  
    h-p://jmather.com  

    View full-size slide

  19. Pa-erns  You  May  Have  Seen  
    •  Composite  Pa-ern  
    •  Decorator  Pa-ern  
    •  Proxy  Pa-ern  
    •  Iterator  Pa-ern  
    •  Observer  Pa-ern  
    •  Strategy  Pa-ern  
    •  Singleton  Pa-ern  
    Jacob  Mather  
    @thejmather  
    h-p://jmather.com  

    View full-size slide

  20. Pa-erns  You  May  Have  Seen  
    •  Composite  Pa-ern  
    •  Decorator  Pa-ern  
    •  Proxy  Pa-ern  
    •  Iterator  Pa-ern  
    •  Observer  Pa-ern  
    •  Strategy  Pa-ern  
    •  Singleton  Pa-ern  
    Jacob  Mather  
    @thejmather  
    h-p://jmather.com  

    View full-size slide

  21. Jacob  Mather  
    @thejmather  
    h-p://jmather.com  

    View full-size slide