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 They may not show up well on other PowerPoint versions. You can download PowerPoint 2010 viewer from here. These slides contain a lot of animations. For optimal results, watch in slideshow mode.

2 Let’s talk about the Evolution of (Wo)man…
wants to date wants to date * * * * Man wants to date wants to date Woman * * * wants to date *

3 On with our lecture proper
Assume we are building an online dating app. It allows users to indicate which other users they want to date. The following class diagram shows the ‘wants to date’ associations. Can the design be simplified? wants to date wants to date * * wants to date * * Man Woman * * * wants to date *

4 wants to date * Person * Man Woman

5 wants to date * Person WantsToDate * Man Woman

6 1 * Person WantsToDate target requestor 1 * Man Woman

7 w4:WantsToDate w1:WantsToDate w2:WantsToDate w3:WantsToDate jerry:Man
target requestor requester target target requestor jerry:Man tom:Man minnie:Woman requestor mickey:Man target

8 76767 OR tinyurl.com/answerpost
:MSLogic :Timer :ScoreCard :Minefield :Cell :Mine :Score a b :MSLogic :Minefield Which one is a behavior diagram? (as opposed to a structure diagram) diag {a|b|c} e.g. diag c MSLogic Minefield Cell ScoreCard Mine Timer Score feed2103 blah… c OR tinyurl.com/answerpost :Cell :Cell

9 :Cell :Cell

10 :Cell :Cell

11 Object diagram Sequence diagram [some period] [moment] Class diagram [all the time] :Cell :Cell

12 Interface Segregation Principle
Why not full disclosure? Can your friends be trusted ? Your parents want to know? Parents Friends BF/GF BF/GF Examples/analogies helps you to understand/remember, but don’t forget the concept.

13 <<interface>> Debtor <<interface>> Graded
//... } interface Client{ interface Payee extends Debtor, Client { class Person { class Student extends Person implements Payee, Graded{ Person <<interface>> Debtor <<interface>> Graded <<interface>> Client <<interface>> Payee Student

14 Time to git together with your team members!
master Centralized workflow Feature branch workflow master feature-foo feature-abc

15 Sync with upstream repo using the pull command. shared remote repo
origin Sync with upstream repo using the pull command. shared remote repo your repo is outdated! rebase your commits OR Your repo merge the two versions A wild conflict can appear!

16

17


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