SlideShare une entreprise Scribd logo
1  sur  33
chapter 8

implementation support
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
   – 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



                             move     press     release   move


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
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:
                  presentation       dialogue     application




• Arch/Slinky           func. core
                         adaptor
                                     dialogue

                                                lexical



                  functional
                     core                             physical
Seeheim model


              lexical     syntactic    semantic

                                      Functionality
                          Dialogue
USER
 USER      Presentation                (application   APPLICATION
                          Control
                                        interface)




                           switch
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
                                    presentation   dialogue   application
     • 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?

            Lexical      Syntactic    Semantic

                                     Application
                         Dialogue
USER      Presentation                Interface    APPLICATION
                         Control
                                       Model
the bypass/switch

             Lexical      Syntactic           Semantic

                                            Application
                          Dialogue
USER       Presentation                      Interface      APPLICATION
                          Control
                                              Model




                                                   direct communication
                                                    between application
       rapid semantic                                 and presentation
         feedback                     but regulated by
                                      dialogue control
more layers!



                   dialogue
      func. core
       adaptor                lexical



functional
   core                             physical
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
                                 dialogue
                    func. core
                     adaptor                lexical



              functional
                 core                             physical
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


                        view


        model


                      controller
MVC issues

• MVC is largely pipeline model:
     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
            A       P        A       P
                C                C



            abstraction        presentation


                          control


        A       P
            C                        A       P
                                         C
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

• 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)

                                see chapter 16 for more details on several of these
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

Contenu connexe

Tendances

USER INTERFACE DESIGN PPT
USER INTERFACE DESIGN PPTUSER INTERFACE DESIGN PPT
USER INTERFACE DESIGN PPTvicci4041
 
What Is Interaction Design
What Is Interaction DesignWhat Is Interaction Design
What Is Interaction DesignGraeme Smith
 
HCI 3e - Ch 7: Design rules
HCI 3e - Ch 7:  Design rulesHCI 3e - Ch 7:  Design rules
HCI 3e - Ch 7: Design rulesAlan Dix
 
HCI 3e - Ch 14: Communication and collaboration models
HCI 3e - Ch 14:  Communication and collaboration modelsHCI 3e - Ch 14:  Communication and collaboration models
HCI 3e - Ch 14: Communication and collaboration modelsAlan Dix
 
Human computer interaction 3 4(revised)
Human computer interaction 3 4(revised)Human computer interaction 3 4(revised)
Human computer interaction 3 4(revised)emaan waseem
 
Human computer interaction -Input output channel
Human computer interaction -Input output channelHuman computer interaction -Input output channel
Human computer interaction -Input output channelN.Jagadish Kumar
 
HCI 3e - Ch 12: Cognitive models
HCI 3e - Ch 12:  Cognitive modelsHCI 3e - Ch 12:  Cognitive models
HCI 3e - Ch 12: Cognitive modelsAlan Dix
 
HCI 3e - Ch 3: The interaction
HCI 3e - Ch 3:  The interactionHCI 3e - Ch 3:  The interaction
HCI 3e - Ch 3: The interactionAlan Dix
 
HCI - Chapter 1
HCI - Chapter 1HCI - Chapter 1
HCI - Chapter 1Alan Dix
 
Unified process model
Unified process modelUnified process model
Unified process modelRyndaMaala
 
Foundations of hci the computer
Foundations of hci   the computerFoundations of hci   the computer
Foundations of hci the computerswarna sudha
 
Design rules Human computer interaction.ppt
Design rules Human computer interaction.pptDesign rules Human computer interaction.ppt
Design rules Human computer interaction.pptSohail735908
 

Tendances (20)

The computer HCI
The computer HCIThe computer HCI
The computer HCI
 
USER INTERFACE DESIGN PPT
USER INTERFACE DESIGN PPTUSER INTERFACE DESIGN PPT
USER INTERFACE DESIGN PPT
 
What Is Interaction Design
What Is Interaction DesignWhat Is Interaction Design
What Is Interaction Design
 
HCI 3e - Ch 7: Design rules
HCI 3e - Ch 7:  Design rulesHCI 3e - Ch 7:  Design rules
HCI 3e - Ch 7: Design rules
 
HCI 3e - Ch 14: Communication and collaboration models
HCI 3e - Ch 14:  Communication and collaboration modelsHCI 3e - Ch 14:  Communication and collaboration models
HCI 3e - Ch 14: Communication and collaboration models
 
Human computer interaction 3 4(revised)
Human computer interaction 3 4(revised)Human computer interaction 3 4(revised)
Human computer interaction 3 4(revised)
 
Hci activity#3
Hci activity#3Hci activity#3
Hci activity#3
 
Human computer interaction -Input output channel
Human computer interaction -Input output channelHuman computer interaction -Input output channel
Human computer interaction -Input output channel
 
HCI 3e - Ch 12: Cognitive models
HCI 3e - Ch 12:  Cognitive modelsHCI 3e - Ch 12:  Cognitive models
HCI 3e - Ch 12: Cognitive models
 
User interface design
User interface designUser interface design
User interface design
 
Hypertext, multimedia and www
Hypertext, multimedia and wwwHypertext, multimedia and www
Hypertext, multimedia and www
 
HCI 3e - Ch 3: The interaction
HCI 3e - Ch 3:  The interactionHCI 3e - Ch 3:  The interaction
HCI 3e - Ch 3: The interaction
 
Software process
Software processSoftware process
Software process
 
HCI - Chapter 1
HCI - Chapter 1HCI - Chapter 1
HCI - Chapter 1
 
interaction norman model in Human Computer Interaction(HCI)
interaction  norman model in Human Computer Interaction(HCI)interaction  norman model in Human Computer Interaction(HCI)
interaction norman model in Human Computer Interaction(HCI)
 
Multimodal Interaction
Multimodal InteractionMultimodal Interaction
Multimodal Interaction
 
Unified process model
Unified process modelUnified process model
Unified process model
 
Hci activity#2
Hci activity#2Hci activity#2
Hci activity#2
 
Foundations of hci the computer
Foundations of hci   the computerFoundations of hci   the computer
Foundations of hci the computer
 
Design rules Human computer interaction.ppt
Design rules Human computer interaction.pptDesign rules Human computer interaction.ppt
Design rules Human computer interaction.ppt
 

Similaire à E3 chap-08

Model-based engineering of multi-platform, synchronous & collaborative UIs
Model-based engineering of multi-platform, synchronous & collaborative UIsModel-based engineering of multi-platform, synchronous & collaborative UIs
Model-based engineering of multi-platform, synchronous & collaborative UIsJean Vanderdonckt
 
MyMobileWeb Certification Part II
MyMobileWeb Certification Part IIMyMobileWeb Certification Part II
MyMobileWeb Certification Part IIcrdlc
 
Mk network programmability-03_en
Mk network programmability-03_enMk network programmability-03_en
Mk network programmability-03_enMiya Kohno
 
Declarative Programming and a form of SDN
Declarative Programming and a form of SDN Declarative Programming and a form of SDN
Declarative Programming and a form of SDN Miya Kohno
 
Hibernate Interview Questions
Hibernate Interview QuestionsHibernate Interview Questions
Hibernate Interview QuestionsSyed Shahul
 
Hibernate reference1
Hibernate reference1Hibernate reference1
Hibernate reference1chandra mouli
 
Software architecture simplified
Software architecture simplifiedSoftware architecture simplified
Software architecture simplifiedPrasad Chitta
 
Improving software econimics
Improving software econimicsImproving software econimics
Improving software econimicsKalica Wadhwa
 
Modelling Feature Interaction Patterns in Nokia Mobile Phones.
Modelling Feature Interaction Patterns in Nokia Mobile Phones.Modelling Feature Interaction Patterns in Nokia Mobile Phones.
Modelling Feature Interaction Patterns in Nokia Mobile Phones.pradeepmondal
 
Android application development
Android application developmentAndroid application development
Android application developmentLinh Vi Tường
 
Agile comparison with requriement approaches
Agile comparison with requriement approachesAgile comparison with requriement approaches
Agile comparison with requriement approachesfungfung Chen
 

Similaire à E3 chap-08 (20)

E3 chap-08
E3 chap-08E3 chap-08
E3 chap-08
 
e3-chap-08.ppt
e3-chap-08.ppte3-chap-08.ppt
e3-chap-08.ppt
 
Chapter 6 implementation support
Chapter 6 implementation supportChapter 6 implementation support
Chapter 6 implementation support
 
Software Patterns
Software PatternsSoftware Patterns
Software Patterns
 
Model-based engineering of multi-platform, synchronous & collaborative UIs
Model-based engineering of multi-platform, synchronous & collaborative UIsModel-based engineering of multi-platform, synchronous & collaborative UIs
Model-based engineering of multi-platform, synchronous & collaborative UIs
 
MyMobileWeb Certification Part II
MyMobileWeb Certification Part IIMyMobileWeb Certification Part II
MyMobileWeb Certification Part II
 
Mk network programmability-03_en
Mk network programmability-03_enMk network programmability-03_en
Mk network programmability-03_en
 
Declarative Programming and a form of SDN
Declarative Programming and a form of SDN Declarative Programming and a form of SDN
Declarative Programming and a form of SDN
 
E3 chap-03
E3 chap-03E3 chap-03
E3 chap-03
 
Hibernate Interview Questions
Hibernate Interview QuestionsHibernate Interview Questions
Hibernate Interview Questions
 
Hibernate reference1
Hibernate reference1Hibernate reference1
Hibernate reference1
 
Design rule 3
Design rule 3Design rule 3
Design rule 3
 
Design rule 3
Design rule 3Design rule 3
Design rule 3
 
Software architecture simplified
Software architecture simplifiedSoftware architecture simplified
Software architecture simplified
 
Unit ii
Unit   iiUnit   ii
Unit ii
 
Improving software econimics
Improving software econimicsImproving software econimics
Improving software econimics
 
Framework
FrameworkFramework
Framework
 
Modelling Feature Interaction Patterns in Nokia Mobile Phones.
Modelling Feature Interaction Patterns in Nokia Mobile Phones.Modelling Feature Interaction Patterns in Nokia Mobile Phones.
Modelling Feature Interaction Patterns in Nokia Mobile Phones.
 
Android application development
Android application developmentAndroid application development
Android application development
 
Agile comparison with requriement approaches
Agile comparison with requriement approachesAgile comparison with requriement approaches
Agile comparison with requriement approaches
 

Plus de Lukmanulhakim Almamalik

Promoting Green Financing Mechanisms.pdf
Promoting Green Financing Mechanisms.pdfPromoting Green Financing Mechanisms.pdf
Promoting Green Financing Mechanisms.pdfLukmanulhakim Almamalik
 
PENGENALAN PEMODELAN SISTEM DINAMIK MENGGUNAKAN VENSIM PLE
PENGENALAN PEMODELAN SISTEM DINAMIK MENGGUNAKAN  VENSIM PLEPENGENALAN PEMODELAN SISTEM DINAMIK MENGGUNAKAN  VENSIM PLE
PENGENALAN PEMODELAN SISTEM DINAMIK MENGGUNAKAN VENSIM PLELukmanulhakim Almamalik
 
Buku informasi tik.cs03.012.01 (autosaved)
Buku informasi tik.cs03.012.01 (autosaved)Buku informasi tik.cs03.012.01 (autosaved)
Buku informasi tik.cs03.012.01 (autosaved)Lukmanulhakim Almamalik
 
Buku informasi tik.cs03.015.01 udah revisi
Buku informasi tik.cs03.015.01 udah revisiBuku informasi tik.cs03.015.01 udah revisi
Buku informasi tik.cs03.015.01 udah revisiLukmanulhakim Almamalik
 

Plus de Lukmanulhakim Almamalik (20)

Promoting Green Financing Mechanisms.pdf
Promoting Green Financing Mechanisms.pdfPromoting Green Financing Mechanisms.pdf
Promoting Green Financing Mechanisms.pdf
 
UU_Perindustrian_No_3_2014.pdf
UU_Perindustrian_No_3_2014.pdfUU_Perindustrian_No_3_2014.pdf
UU_Perindustrian_No_3_2014.pdf
 
PENGENALAN PEMODELAN SISTEM DINAMIK MENGGUNAKAN VENSIM PLE
PENGENALAN PEMODELAN SISTEM DINAMIK MENGGUNAKAN  VENSIM PLEPENGENALAN PEMODELAN SISTEM DINAMIK MENGGUNAKAN  VENSIM PLE
PENGENALAN PEMODELAN SISTEM DINAMIK MENGGUNAKAN VENSIM PLE
 
Bahan kuliah ttm [compatibility mode]
Bahan kuliah ttm [compatibility mode]Bahan kuliah ttm [compatibility mode]
Bahan kuliah ttm [compatibility mode]
 
Buku systems thinking
Buku systems thinkingBuku systems thinking
Buku systems thinking
 
Buku informasi tik.cs03.012.01 (autosaved)
Buku informasi tik.cs03.012.01 (autosaved)Buku informasi tik.cs03.012.01 (autosaved)
Buku informasi tik.cs03.012.01 (autosaved)
 
Buku informasi tik.cs03.016.01
Buku informasi tik.cs03.016.01Buku informasi tik.cs03.016.01
Buku informasi tik.cs03.016.01
 
Buku informasi tik.cs03.011.01
Buku informasi tik.cs03.011.01Buku informasi tik.cs03.011.01
Buku informasi tik.cs03.011.01
 
Tik.cs03.008.01 buku informasi
Tik.cs03.008.01 buku informasiTik.cs03.008.01 buku informasi
Tik.cs03.008.01 buku informasi
 
Tik.cs03.007.01 buku informasi
Tik.cs03.007.01 buku informasiTik.cs03.007.01 buku informasi
Tik.cs03.007.01 buku informasi
 
Tik.cs03.006.01 buku informasi
Tik.cs03.006.01 buku informasiTik.cs03.006.01 buku informasi
Tik.cs03.006.01 buku informasi
 
Tik.cs02.053.01 buku informasi
Tik.cs02.053.01 buku informasiTik.cs02.053.01 buku informasi
Tik.cs02.053.01 buku informasi
 
Buku informasi tik.cs03.015.01 udah revisi
Buku informasi tik.cs03.015.01 udah revisiBuku informasi tik.cs03.015.01 udah revisi
Buku informasi tik.cs03.015.01 udah revisi
 
Buku informasi tik.cs03.010.01
Buku informasi tik.cs03.010.01Buku informasi tik.cs03.010.01
Buku informasi tik.cs03.010.01
 
Buku informasi memperbaiki monitor
Buku informasi   memperbaiki monitorBuku informasi   memperbaiki monitor
Buku informasi memperbaiki monitor
 
Ch22
Ch22Ch22
Ch22
 
Ch21
Ch21Ch21
Ch21
 
Ch20
Ch20Ch20
Ch20
 
Ch19
Ch19Ch19
Ch19
 
Ch18
Ch18Ch18
Ch18
 

Dernier

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 

Dernier (20)

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 

E3 chap-08

  • 2. 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
  • 3. 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
  • 4. 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
  • 5. roles of a windowing system
  • 6. 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
  • 9. 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
  • 10. 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
  • 11. 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 }
  • 12. going with the grain • system style affects the interfaces – 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
  • 13. Using toolkits Interaction objects – input and output intrinsically linked move press release move 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
  • 14. 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)
  • 15. 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
  • 16. 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
  • 17. UIMS tradition – interface layers / logical components • linguistic: lexical/syntactic/semantic • Seeheim: presentation dialogue application • Arch/Slinky func. core adaptor dialogue lexical functional core physical
  • 18. Seeheim model lexical syntactic semantic Functionality Dialogue USER USER Presentation (application APPLICATION Control interface) switch
  • 19. 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 presentation dialogue application • but not conceptual
  • 20. 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
  • 21. what’s this? Lexical Syntactic Semantic Application Dialogue USER Presentation Interface APPLICATION Control Model
  • 22. the bypass/switch Lexical Syntactic Semantic Application Dialogue USER Presentation Interface APPLICATION Control Model direct communication between application rapid semantic and presentation feedback but regulated by dialogue control
  • 23. more layers! dialogue func. core adaptor lexical functional core physical
  • 24. 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 dialogue func. core adaptor lexical functional core physical
  • 25. 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
  • 26. MVC model - view - controller view model controller
  • 27. MVC issues • MVC is largely pipeline model: 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
  • 28. 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)
  • 29. PAC presentation - abstraction - control A P A P C C abstraction presentation control A P C A P C
  • 30. 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 • 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) see chapter 16 for more details on several of these
  • 31. 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
  • 32. 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)
  • 33. 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