CSE310 Human-Computer Interaction

Slides:



Advertisements
Similar presentations
implementation support
Advertisements

Software Engineering Institute Carnegie Mellon University Pittsburgh, PA Sponsored by the U.S. Department of Defense © 1998 by Carnegie Mellon.
Lecture 12 implementation support. Today’s Lecture programming tools  levels of services for programmers windowing systems  core support for separate.
6/11/20151 Multiple Windows Strategies CIS 577 Bruce R. Maxim UM-Dearborn.
Understanding Metamodels. Outline Understanding metamodels Applying reference models Fundamental metamodel for describing software components Content.
Software Engineering Institute Carnegie Mellon University Pittsburgh, PA Sponsored by the U.S. Department of Defense © 1998 by Carnegie Mellon.
The Task-Centered Design Process figure out who's going to use the system to do what choose representative tasks for task-centered design plagiarize rough.
Object-Oriented Analysis and Design
Implementation support CSCI324, IACT403, IACT 931, MCS9324 Human Computer Interfaces.
Implementation support IACT 403 IACT 931 CSCI 324 Human Computer Interface Lecturer:Gene Awyzio Room:3.117 Phone:
Stanford hci group / cs376 research topics in human-computer interaction UI Software Tools Scott Klemmer 27 October 2005.
Operating Systems Concepts 1. A Computer Model An operating system has to deal with the fact that a computer is made up of a CPU, random access memory.
Human Computer Interaction Implementation Support.
Introduction to Java Swing “We are the sultans of swing” – Mark Knopfler.
MODEL VIEW CONTROLLER A Technical Seminar Report submitted to
Architectural separation (MVC, arch model, Seeheim).
An Introduction to Software Architecture
Gary MarsdenSlide 1University of Cape Town Human-Computer Interaction - 3 Programmer Support Gary Marsden ( ) July 2002.
Implementation support z programming tools y levels of services for programmers z windowing systems y core support for separate and simultaneous user-system.
1 Implementation support chapter 8 programming tools –levels of services for programmers windowing systems –core support for separate and simultaneous.
Chapter 6 – Architectural Design CSE-411, Dr. Shamim H Ripon.
CSCE 121: Introduction to Program Design and Concepts, Honors Dr. J. Michael Moore Spring 2015 Set 15: GUIs 1.
1 Lecture 2: Overview of UI Software and Tools Brad Myers Advanced User Interface Software.
X-WindowsP.K.K.Thambi The X Window System Module 5.
CPSC 871 John D. McGregor Module 3 Session 1 Architecture.
Model View Controller MVC Web Software Architecture.
Chapter 6 – Architectural Design Lecture 1 1Chapter 6 Architectural design.
Topic 4 - Database Design Unit 1 – Database Analysis and Design Advanced Higher Information Systems St Kentigern’s Academy.
1 Lecture 5: Interactive Tools: Prototypers (HyperCard, Director, Visual Basic), Interface Builders Brad Myers Advanced User Interface Software.
Department of CSE, KLU 1 Chapter 8 Implementation support.
Introduction. System Design Hardware/Software Platform Selection Software Architectures Database Design Human-Computer Interaction (HCI) Interface Object.
Programming Paradigms, Software Architectural Patterns, and MVC CS 378 – Mobile Computing for iOS Dr. William C. Bulko.
Teaching slides Chapter 6. Chapter 6 Software user interface design & construction Contents Introduction Graphical user interface – Rich window based.
CSC 222: Object-Oriented Programming
Human Computer Interaction (HCI)
Support for the Development of Interactive Systems
Database Development (8 May 2017).
Concepts of Object Oriented Programming
Chapter 2: Database System Concepts and Architecture - Outline
CompSci 230 S Software Construction
Computer Architecture & Operations I
Learning to Program D is for Digital.
GUI Design and Coding PPT By :Dr. R. Mall.
11.10 Human Computer Interface
Lecture 27 Creating Custom GUIs
Software Design and Architecture
Week: 10 Human-Computer Interaction
Part 3 Design What does design mean in different fields?
User Interface Software Look under the hood
Introduction to Computing Using Java
Chapter 20 Object-Oriented Analysis and Design
implementation support
Starting Design: Logical Architecture and UML Package Diagrams
Software models - Software Architecture Design Patterns
An Introduction to Software Architecture
Outline Chapter 2 (cont) OS Design OS structure
I/O Toolkits Scott Klemmer · 16 November 2006.
MORE ON ARCHITECTURES The main reasons for using an architecture are maintainability and performance. We want to structure the software into reasonably.
Chapter 14 The User View of Operating Systems
Implementation support
CSE310 Human-Computer Interaction
implementation support
implementation support
Model, View, Controller design pattern
Cohesion and Coupling.
Brad Myers Advanced User Interface Software Spring, 2017
Week: 09 Human-Computer Interaction
Chapter 8 - Design Strategies
Implementation support
Jim Fawcett CSE687 – Object Oriented Design Spring 2015
Presentation transcript:

CSE310 Human-Computer Interaction Lecture #8 Implementation Support Prepared & Presented by Asst. Prof. Dr. Samsun M. BAŞARICI

Learning Objectives Learn how HCI helps the programmer Understand elements, role and architecture of windowing systems Appreciate Seeheim, MVC and PAC Model

Implementation support programming tools levels of services for programmers windowing systems core support for separate and simultaneous user-system activity programming the application and control of dialogue interaction toolkits bring programming closer to level of user perception user interface management systems controls relationship between presentation and functionality

Introduction How does HCI affect of the programmer? Advances in coding have elevated programming hardware specific  interaction-technique specific Layers of development tools windowing systems interaction toolkits user interface management systems

Elements of windowing systems Device independence programming the abstract terminal device drivers image models for output and (partially) input pixels PostScript (MacOS X, NextStep) Graphical Kernel System (GKS) Programmers' Hierarchical Interface to Graphics (PHIGS) Resource sharing achieving simultaneity of user tasks window system supports independent processes isolation of individual applications

roles of a windowing system

Architectures of windowing systems three possible software architectures all assume device driver is separate differ in how multiple application management is implemented 1. each application manages all processes everyone worries about synchronization reduces portability of applications 2. management role within kernel of operating system applications tied to operating system 3. management role as separate application maximum portability

The client-server architecture

X Windows architecture

X Windows architecture (ctd) pixel imaging model with some pointing mechanism X protocol defines server-client communication separate window manager client enforces policies for input/output: how to change input focus tiled vs. overlapping windows inter-client data transfer

Programming the application - 1 read-evaluation loop repeat read-event(myevent) case myevent.type type_1: do type_1 processing type_2: do type_2 processing ... type_n: do type_n processing end case end repeat

Programming the application - 1 notification-based void main(String[] args) { Menu menu = new Menu(); menu.setOption(“Save”); menu.setOption(“Quit”); menu.setAction(“Save”,mySave) menu.setAction(“Quit”,myQuit) ... } int mySave(Event e) { // save the current file int myQuit(Event e) { // close down

going with the grain system style affects the interfaces beware! modal dialogue box easy with event-loop (just have extra read-event loop) hard with notification (need lots of mode flags) non-modal dialogue box hard with event-loop (very complicated main loop) easy with notification (just add extra handler) beware! if you don’t explicitly design it will just happen implementation should not drive design

Using toolkits Interaction objects input and output intrinsically linked Toolkits provide this level of abstraction programming with interaction objects (or techniques, widgets, gadgets) promote consistency and generalizability through similar look and feel amenable to object-oriented programming move press release move

interfaces in Java Java toolkit – AWT (abstract windowing toolkit) Java classes for buttons, menus, etc. Notification based; AWT 1.0 – need to subclass basic widgets AWT 1.1 and beyond -– callback objects Swing toolkit built on top of AWT – higher level features uses MVC architecture (see later)

User Interface Management Systems (UIMS) UIMS add another level above toolkits toolkits too difficult for non-programmers concerns of UIMS conceptual architecture implementation techniques support infrastructure non-UIMS terms: UI development system (UIDS) UI development environment (UIDE) e.g. Visual Basic

UIMS as conceptual architecture separation between application semantics and presentation improves: portability – runs on different systems reusability – components reused cutting costs multiple interfaces – accessing same functionality customizability – by designer and user

UIMS tradition – interface layers / logical components linguistic: lexical/syntactic/semantic Seeheim: Arch/Slinky

Seeheim model Presentation Dialogue Control Functionality (application interface) USER APPLICATION switch lexical syntactic semantic

conceptual vs. implementation Seeheim arose out of implementation experience but principal contribution is conceptual concepts part of ‘normal’ UI language … because of Seeheim … … we think differently! e.g. the lower box, the switch needed for implementation but not conceptual

semantic feedback different kinds of feedback: lexical – movement of mouse syntactic – menu highlights semantic – sum of numbers changes semantic feedback often slower use rapid lexical/syntactic feedback but may need rapid semantic feedback freehand drawing highlight trash can or folder when file dragged

what’s this?

rapid semantic feedback the bypass/switch but regulated by dialogue control direct communication between application and presentation rapid semantic feedback

more layers!

Arch/Slinky more layers! – distinguishes lexical/physical like a ‘slinky’ spring different layers may be thicker (more important) in different systems or in different components

monolithic vs. components Seeheim has big components often easier to use smaller ones esp. if using object-oriented toolkits Smalltalk used MVC – model–view–controller model – internal logical state of component view – how it is rendered on screen controller – processes user input

MVC model - view - controller

MVC issues MVC is largely pipeline model: but in graphical interface input  control  model  view  output but in graphical interface input only has meaning in relation to output e.g. mouse click need to know what was clicked controller has to decide what to do with click but view knows what is shown where! in practice controller ‘talks’ to view separation not complete

PAC model PAC model closer to Seeheim abstraction – logical state of component presentation – manages input and output control – mediates between them manages hierarchy and multiple views control part of PAC objects communicate PAC cleaner in many ways … but MVC used more in practice (e.g. Java Swing)

PAC presentation - abstraction - control

Implementation of UIMS Techniques for dialogue controller • menu networks • state transition diagrams • grammar notations • event languages • declarative languages • constraints • graphical specification for most of these see chapter 16 of your textbook N.B. constraints instead of what happens say what should be true used in groupware as well as single user interfaces (ALV - abstraction–link–view)

graphical specification what it is draw components on screen set actions with script or links to program in use with raw programming most popular technique e.g. Visual Basic, Dreamweaver, Flash local vs. global hard to ‘see’ the paths through system focus on what can be seen on one screen

The drift of dialogue control internal control (e.g., read-evaluation loop) external control (independent of application semantics or presentation) presentation control (e.g., graphical specification)

Summary Levels of programming support tools Windowing systems device independence multiple tasks Paradigms for programming the application read-evaluation loop notification-based Toolkits programming interaction objects UIMS conceptual architectures for separation techniques for expressing dialogue

Evaluation Techniques Next Lecture Evaluation Techniques

References Alan Dix, Janet Finlay, Gregory D. Abowd, Russell Beale, “Human-Computer Interaction, 3rd Edition”, Prentice Hall, 2004, ISBN: 0-13-046109-1