$30 off During Our Annual Pro Sale. View Details »

CSE460 Lecture 27

CSE460 Lecture 27

Software Analysis and Design
Connecting the Dots III
(202010)

Javier Gonzalez-Sanchez
PRO

July 27, 2020
Tweet

More Decks by Javier Gonzalez-Sanchez

Other Decks in Programming

Transcript

  1. jgs
    CSE 460
    Software Analysis and Design
    Lecture 27: Connecting the Dots III
    Dr. Javier Gonzalez-Sanchez
    [email protected]
    javiergs.engineering.asu.edu | javiergs.com
    PERALTA 230U
    Office Hours: By appointment

    View Slide

  2. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 2
    jgs
    Idea
    Main
    Factory
    Gift Ball Box Envelop

    View Slide

  3. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 3
    jgs
    Main

    View Slide

  4. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 4
    jgs
    Factory

    View Slide

  5. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 5
    jgs
    Chain of Responsibilities

    View Slide

  6. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 6
    jgs
    Decorator

    View Slide

  7. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 7
    jgs
    Decorator

    View Slide

  8. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 8
    jgs
    Observer

    View Slide

  9. jgs
    One more thing

    View Slide

  10. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 10
    jgs
    Idea 1
    Main
    Factory
    Gift Ball Box Envelop
    Handler
    Supervisor
    Bin

    View Slide

  11. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 11
    jgs
    Idea 1
    In main:
    In ConcreteHandlerWithBox:
    In ConcreteHandlerWithEnvelop:

    View Slide

  12. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 12
    jgs
    Idea 2
    Main
    Factory
    Gift Ball Box Envelop
    Handler
    Supervisor
    Bin
    GUI

    View Slide

  13. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 13
    jgs
    Idea 2

    View Slide

  14. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 14
    jgs
    Idea 2 :: the GUI elements

    View Slide

  15. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 15
    jgs
    Idea 2 :: Listener

    View Slide

  16. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 16
    jgs
    Model
    We need to talk about Architectures
    Main
    Factory
    Gift Ball Box Envelop
    Handler
    Supervisor
    Bin
    View
    GUI
    Controllers
    Listener

    View Slide

  17. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 17
    jgs
    Homework
    From the Java API review the following classes and how to use them:
    § Socket
    § ServerSocket
    § Thread
    § Runnable

    View Slide

  18. jgs
    CSE 460 Software Analysis and Design
    Javier Gonzalez-Sanchez
    [email protected]
    Fall 2020
    Disclaimer. These slides can only be used as study material for the class CSE460 at ASU. They cannot be distributed or used for another purpose.

    View Slide