Presentation is loading. Please wait.

Presentation is loading. Please wait.

WARNING These slides are not optimized for printing or exam preparation. These are for lecture delivery only. These slides are made for PowerPoint 2010.

Similar presentations


Presentation on theme: "WARNING These slides are not optimized for printing or exam preparation. These are for lecture delivery only. These slides are made for PowerPoint 2010."— Presentation transcript:

1 WARNING These slides are not optimized for printing or exam preparation. These are for lecture delivery only. These slides are made for PowerPoint 2010. They may not show up well on other PowerPoint versions. You can download PowerPoint 2010 viewer from here.here These slides contain a lot of animations. For optimal results, watch in slideshow mode. 10min

2 Which of these patterns is least likely to be in this design? SISObserver * ListAccesoriesUI ListAllUI UIController SIS StockItemType Appliance Accessory * < is for StockItemList StockItem ** missing {a|b|c|d|e} e.g. missing a (a) Abstraction Occurrence (b) Singleton (c) Command (d) MVC (e) Observer 1 Based on a worked example in the handout 77577 OR tinyurl.com/answerpost

3 * ListAccesoriesUI ListAllUI UIController SIS StockItemType Appliance Accessory * < is for StockItemList StockItem ** (a) Abstraction Occurrence (b) Singleton (c) Command (d) MVC (e) Observer SISObserver 1

4 * ListAccesoriesUI ListAllUI UIController SIS StockItemType Appliance Accessory * < is for StockItemList StockItem ** (a) Abstraction Occurrence (b) Singleton (c) Command (d) MVC (e) Observer SISObserver 1

5 * ListAccesoriesUI ListAllUI UIController SIS StockItemType Appliance Accessory * < is for StockItemList StockItem ** (a) Abstraction Occurrence (b) Singleton (c) Command (d) MVC (e) Observer SISObserver 1

6 * ListAccesoriesUI ListAllUI UIController SIS StockItemType Appliance Accessory * < is for StockItemList StockItem ** (a) Abstraction Occurrence (b) Singleton (c) Command (d) MVC (e) Observer SISObserver 1

7 * ListAccesoriesUI ListAllUI UIController SIS StockItemType Appliance Accessory * < is for StockItemList StockItem ** (a) Abstraction Occurrence (b) Singleton (c) Command (d) MVC (e) Observer SISObserver 1

8 * ListAccesoriesUI ListAllUI UIController SIS StockItemType Appliance Accessory * < is for StockItemList StockItem ** (a) Abstraction Occurrence (b) Singleton (c) Command (d) MVC (e) Observer SISObserver 1 GUI Logic GUI Logic Logic UI

9 * ListAccesoriesUI ListAllUI UIController SIS StockItemType Appliance Accessory * < is for StockItemList StockItem ** (a) Abstraction Occurrence (b) Singleton (c) Command (d) MVC (e) Observer SISObserver 1

10 * ListAccesoriesUI ListAllUI UIController SIS StockItemType Appliance Accessory * < is for StockItemList StockItem ** (a) Abstraction Occurrence (b) Singleton (c) Command (d) MVC (e) Observer SISObserver 1

11 * ListAccesoriesUI ListAllUI UIController SIS StockItemType Appliance Accessory * < is for StockItemList StockItem ** (a) Abstraction Occurrence (b) Singleton (c) Command (d) MVC (e) Observer SISObserver 1

12 * ListAccesoriesUI ListAllUI UIController SIS StockItemType Appliance Accessory * < is for StockItemList StockItem ** (a) Abstraction Occurrence (b) Singleton (c) Command (d) MVC (e) Observer SISObserver 1

13 * ListAccesoriesUI ListAllUI UIController SIS StockItemType Appliance Accessory * < is for StockItemList StockItem ** (a) Abstraction Occurrence (b) Singleton (c) Command (d) MVC (e) Observer SISObserver 1

14 * ListAccesoriesUI ListAllUI UIController SIS StockItemType Appliance Accessory * < is for StockItemList StockItem ** What principles could be in place here? SISObserver Liskov substitution Open-closed Law of Demeter Single Responsibility (Separation of Concerns)

15 Patterns Principles Ways of learning from …

16 Product is functional. What about quality? Theme for this week:


Download ppt "WARNING These slides are not optimized for printing or exam preparation. These are for lecture delivery only. These slides are made for PowerPoint 2010."

Similar presentations


Ads by Google