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

CSC509 Lecture 07

CSC509 Lecture 07

Software Design
Connecting the Dots
(202310)

Javier Gonzalez-Sanchez

October 29, 2023
Tweet

More Decks by Javier Gonzalez-Sanchez

Other Decks in Programming

Transcript

  1. jgs CSC 509 Software Engineering II: Modeling and Design Lecture

    07: Connecting the Dots Dr. Javier Gonzalez-Sanchez [email protected] www.javiergs.com Building 14 -227 Office Hours: By appointment
  2. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    3 Assignment UML Class Diagram 1. Define the Model in EMF (take a screen shoot) 2. Generate Code (take a screen shoot) 3. Use the Code to Create a Class Diagram (only the Model package but include both interfaces and implementations). It will be bigger and more complex that the one provided
  3. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    4 § Gamma, E., Helm, R., Johnson, R. E. & Vlissides, J. (1993). Design Patterns: Abstraction and Reuse of Object-Oriented Design. Proceedings of the European Conference on Object-Oriented Programming, 707, 406– 431. § Garlan, D. & Shaw, M. (1994). An Introduction to Software Architecture (CMU Software Engineering Institute). CMU Software Engineering Institute. Homework :: Read
  4. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    13 Idea Main Factory Gift Ball Box Envelop
  5. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    14 Idea wrapper2 Main wrapper1 Factory decoration Envelope Box Gift wrapper3 ball Supervisor Is big > 10, box Is small < 5, envelop
  6. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    26 Idea 1 Main Factory Gift Ball Box Envelop Handler Supervisor Bin
  7. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    27 Idea 1 In main: In ConcreteHandlerWithBox: In ConcreteHandlerWithEnvelop:
  8. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    28 Idea 2 Main Factory Gift Ball Box Envelop Handler Supervisor Bin GUI
  9. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    32 Idea 2 Main Factory Gift Ball Box Envelop Handler Supervisor Bin GUI
  10. jgs CSC 509 Software Design Javier Gonzalez-Sanchez, Ph.D. [email protected] Fall

    2023 Copyright. These slides can only be used as study material for the class CSC509 at Cal Poly. They cannot be distributed or used for another purpose.