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. These slides contain a lot of animations. For optimal results, watch in slideshow mode.
Do this while we wait for the lecture to start Assume we are building an online dating app. It allows users to indicate which other users they want to date. Complete the following partial class diagram to show the ‘wants to date’ associations. Man Woman
Assume we are building an online dating app Assume we are building an online dating app. It allows users to indicate which other users they want to date. Complete the following partial class diagram to show the ‘wants to date’ associations. Man wants to date Woman
Assume we are building an online dating app Assume we are building an online dating app. It allows users to indicate which other users they want to date. Complete the following partial class diagram to show the ‘wants to date’ associations. Man wants to date Woman
Assume we are building an online dating app Assume we are building an online dating app. It allows users to indicate which other users they want to date. Complete the following partial class diagram to show the ‘wants to date’ associations. wants to date wants to date * * wants to date * * Man Woman * * * wants to date *
wants to date * Person * Man Woman
wants to date * Person WantsToDate * Man Woman
1 * Person WantsToDate target requestor 1 * Man Woman
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
Which one is a behavior diagram? (as opposed to a structure diagram) :MSLogic :Timer :ScoreCard :Minefield :Cell :Mine :Score a b :MSLogic :Minefield Which one is a behavior diagram? (as opposed to a structure diagram) MSLogic Minefield Cell ScoreCard Mine Timer Score c :Cell :Cell
:Cell :Cell
:Cell :Cell
Which one is a behavior diagram? (as opposed to a structure diagram) Object diagram Sequence diagram [some period] [moment] Which one is a behavior diagram? (as opposed to a structure diagram) Class diagram [all the time] :Cell :Cell
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.
<<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
Time to git together with your team members! master Centralized workflow Feature branch workflow master feature-foo feature-abc …
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!