Slide 1

Slide 1 text

Dr. Javier Gonzalez-Sanchez [email protected] www.javiergs.info o ffi ce: 14 -227 CSC 486 Human-Computer Interaction Lecture 07. Software Process

Slide 2

Slide 2 text

Previously …

Slide 3

Slide 3 text

Publisher 2.0 3 Brain View Controller Client Blackboard Paho Library Model Engine

Slide 4

Slide 4 text

Publisher 2.0 4

Slide 5

Slide 5 text

Subscriber 2.0 5 Brain View Controller Blackboard PostOffice Model

Slide 6

Slide 6 text

Subscriber 2.0 6

Slide 7

Slide 7 text

Blueprint 7

Slide 8

Slide 8 text

Main

Slide 9

Slide 9 text

Main 9

Slide 10

Slide 10 text

Main | createMenuBar 10

Slide 11

Slide 11 text

Main | createMenuBar 11

Slide 12

Slide 12 text

Main | createMenuBar 12

Slide 13

Slide 13 text

Main | createMenuBar

Slide 14

Slide 14 text

Controller

Slide 15

Slide 15 text

Controller 15

Slide 16

Slide 16 text

Blackboard

Slide 17

Slide 17 text

Blackboard

Slide 18

Slide 18 text

Engine

Slide 19

Slide 19 text

Engine

Slide 20

Slide 20 text

StatusBar

Slide 21

Slide 21 text

StatusBar

Slide 22

Slide 22 text

ViewPanel

Slide 23

Slide 23 text

ViewPanel

Slide 24

Slide 24 text

24 https://github.com/javiergs/NielsenSkeleton

Slide 25

Slide 25 text

Questions 25

Slide 26

Slide 26 text

Assignment 01

Slide 27

Slide 27 text

Part 1. Publisher (only testing purposes) 27 1. Create a program in Java that read your data_file

Slide 28

Slide 28 text

Part 1. Publisher (only testing purposes) 28 2. Follow the Publisher example and make this program to “Publish” a line every 10 seconds. Customize your topic and clientID

Slide 29

Slide 29 text

Part 2. Subscriber (this will be part of your app) 29 1. Create a program in Java that subscribes to your published data.

Slide 30

Slide 30 text

Part 2. Subscriber (this will be part of your app) 30 2. Follow the example of the Subscriber code.

Slide 31

Slide 31 text

Part 2. Subscriber (this will be part of your app) 31 3. Every item received, store it in a data structure. When the data structure reaches 1000 values clean it (delete them all).

Slide 32

Slide 32 text

Questions 32

Slide 33

Slide 33 text

CSC 509 Software Engineering Javier Gonzalez-Sanchez, Ph.D. [email protected] Fall 2024 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.