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

CSE564 Lecture 20

CSE564 Lecture 20

Software Design
Architecture Patterns
(202011)

B546a9b97d993392e4b22b74b99b91fe?s=128

Javier Gonzalez

September 20, 2020
Tweet

Transcript

  1. jgs CSE 564 Software Design Lecture 20: Architecture Patterns Dr.

    Javier Gonzalez-Sanchez javiergs@asu.edu javiergs.engineering.asu.edu | javiergs.com PERALTA 230U Office Hours: By appointment
  2. jgs (

  3. Javier Gonzalez-Sanchez | CSE564 | Fall 2020 | 3 jgs

    Additional Feedback :: Common Errors 1. Define association relationships between classes but have global variables in the code. 2. Using association and aggregation interchangeably. They are not the same 3. Classes are missing either in the class diagram or in the code –code and design are inconsistent. 4. Designs are too complex to understand with lines between classes overlapping. I have to say quite the opposite of Occam's Razor. the simplest explanation is usually the correct one
  4. Javier Gonzalez-Sanchez | CSE564 | Fall 2020 | 4 jgs

    Additional Feedback 5. Classes are empty or unconnected with the rest of the classes. 6. Using realization and inheritance interchangeably and these relationships don't reflect in the code. 7. Minor Issue: some of the classes that come with java like JPanel, JFrame, JButton are missing in the class diagrams even though they have used them in the code. 8. Request: Help us to color system classes with diverse colors (API vs Your own). Hard to interpret and check for them in the code.
  5. Javier Gonzalez-Sanchez | CSE564 | Fall 2020 | 5 jgs

    This Looks Good
  6. Javier Gonzalez-Sanchez | CSE564 | Fall 2020 | 6 jgs

    This Looks Good also
  7. jgs )

  8. jgs Architecture Patterns Model-View-Controller

  9. Javier Gonzalez-Sanchez | CSE564 | Fall 2020 | 9 jgs

    Model-View-Controller
  10. Javier Gonzalez-Sanchez | CSE564 | Fall 2020 | 10 jgs

    Implementation :: View
  11. Javier Gonzalez-Sanchez | CSE564 | Fall 2020 | 11 jgs

    Implementation :: Controller
  12. jgs Architecture Patterns Blackboard

  13. Javier Gonzalez-Sanchez | CSE564 | Fall 2020 | 13 jgs

    Blackboard
  14. Javier Gonzalez-Sanchez | CSE564 | Fall 2020 | 14 jgs

    Drafting an Implementation
  15. jgs To be Continued…

  16. jgs CSE 564 Computer Systems Fundamentals Javier Gonzalez-Sanchez javiergs@asu.edu Fall

    2020 Disclaimer. These slides can only be used as study material for the class CSE564 at ASU. They cannot be distributed or used for another purpose.