Presentation is loading. Please wait.

Presentation is loading. Please wait.

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 1 Chapter 15 User Interface Design.

Similar presentations


Presentation on theme: "©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 1 Chapter 15 User Interface Design."— Presentation transcript:

1 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 1 Chapter 15 User Interface Design

2 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 2 User interface design l Designing effective interfaces for software systems

3 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 3 Objectives l To suggest some general design principles for user interface design l To explain different interaction styles l To introduce styles of information presentation l To describe the user support which should be built-in to user interfaces l To introduce usability attributes and system approaches to system evaluation

4 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 4 Topics covered l User interface design principles l User interaction l Information presentation l User support l Interface evaluation

5 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 5 The user interface l System users often judge a system by its interface rather than its functionality l A poorly designed interface can cause a user to make catastrophic errors l Poor user interface design is the reason why so many software systems are never used

6 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 6 Graphical user interfaces l Most users of business systems interact with these systems through graphical interfaces although, in some cases, legacy text-based interfaces are still used

7 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 7 GUI characteristics

8 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 8 GUI advantages l They are easy to learn and use. Users without experience can learn to use the system quickly. l The user may switch quickly from one task to another and can interact with several different applications. Information remains visible in its own window when attention is switched. l Fast, full-screen interaction is possible with immediate access to anywhere on the screen

9 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 9 User-centred design l The aim of this chapter is to sensitise software engineers to key issues underlying the design rather than the implementation of user interfaces l User-centred design is an approach to UI design where the needs of the user are paramount and where the user is involved in the design process l UI design always involves the development of prototype interfaces

10 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 10 User interface design process

11 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 11 UI design principles l UI design must take account of the needs, experience and capabilities of the system users l Designers should be aware of peoples physical and mental limitations (e.g. limited short-term memory) and should recognise that people make mistakes l UI design principles underlie interface designs although not all principles are applicable to all designs

12 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 12 User interface design principles

13 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 13 Design principles l User familiarity The interface should be based on user-oriented terms and concepts rather than computer concepts. For example, an office system should use concepts such as letters, documents, folders etc. rather than directories, file identifiers, etc. l Consistency The system should display an appropriate level of consistency. Commands and menus should have the same format, command punctuation should be similar, etc. l Minimal surprise If a command operates in a known way, the user should be able to predict the operation of comparable commands

14 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 14 Design principles l Recoverability The system should provide some resilience to user errors and allow the user to recover from errors. This might include an undo facility, confirmation of destructive actions, 'soft' deletes, etc. l User guidance Some user guidance such as help systems, on-line manuals, etc. should be supplied l User diversity Interaction facilities for different types of user should be supported. For example, some users have seeing difficulties and so larger text should be available

15 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 15 User-system interaction l Two problems must be addressed in interactive systems design How should information from the user be provided to the computer system? How should information from the computer system be presented to the user? l User interaction and information presentation may be integrated through a coherent framework such as a user interface metaphor

16 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 16 Interaction styles l Direct manipulation l Menu selection l Form fill-in l Command language l Natural language

17 Advantages and disadvantages

18 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 18 Direct manipulation advantages l Users feel in control of the computer and are less likely to be intimidated by it l User learning time is relatively short l Users get immediate feedback on their actions so mistakes can be quickly detected and corrected

19 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 19 Direct manipulation problems l The derivation of an appropriate information space model can be very difficult l Given that users have a large information space, what facilities for navigating around that space should be provided? l Direct manipulation interfaces can be complex to program and make heavy demands on the computer system

20 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 20 Control panel interface

21 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 21 Menu systems l Users make a selection from a list of possibilities presented to them by the system l The selection may be made by pointing and clicking with a mouse, using cursor keys or by typing the name of the selection l May make use of simple-to-use terminals such as touchscreens

22 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 22 Advantages of menu systems l Users need not remember command names as they are always presented with a list of valid commands l Typing effort is minimal l User errors are trapped by the interface l Context-dependent help can be provided. The users context is indicated by the current menu selection

23 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 23 Problems with menu systems l Actions which involve logical conjunction (and) or disjunction (or) are awkward to represent l Menu systems are best suited to presenting a small number of choices. If there are many choices, some menu structuring facility must be used l Experienced users find menus slower than command language

24 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 24 Form-based interface

25 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 25 Command interfaces l User types commands to give instructions to the system e.g. UNIX l May be implemented using cheap terminals. l Easy to process using compiler techniques l Commands of arbitrary complexity can be created by command combination l Concise interfaces requiring minimal typing can be created

26 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 26 Problems with command interfaces l Users have to learn and remember a command language. Command interfaces are therefore unsuitable for occasional users l Users make errors in command. An error detection and recovery system is required l System interaction is through a keyboard so typing ability is required

27 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 27 Command languages l Often preferred by experienced users because they allow for faster interaction with the system l Not suitable for casual or inexperienced users l May be provided as an alternative to menu commands (keyboard shortcuts). In some cases, a command language interface and a menu- based interface are supported at the same time

28 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 28 Natural language interfaces l The user types a command in a natural language. Generally, the vocabulary is limited and these systems are confined to specific application domains (e.g. timetable enquiries) l NL processing technology is now good enough to make these interfaces effective for casual users but experienced users find that they require too much typing

29 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 29 Multiple user interfaces

30 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 30 Information presentation l Information presentation is concerned with presenting system information to system users l The information may be presented directly (e.g. text in a word processor) or may be transformed in some way for presentation (e.g. in some graphical form) l The Model-View-Controller approach is a way of supporting multiple presentations of data

31 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 31 Information presentation

32 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 32 Model-view-controller

33 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 33 Information presentation l Static information Initialised at the beginning of a session. It does not change during the session May be either numeric or textual l Dynamic information Changes during a session and the changes must be communicated to the system user May be either numeric or textual

34 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 34 Information display factors l Is the user interested in precise information or data relationships? l How quickly do information values change? Must the change be indicated immediately? l Must the user take some action in response to a change? l Is there a direct manipulation interface? l Is the information textual or numeric? Are relative values important?

35 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 35 Alternative information presentations

36 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 36 Analogue vs. digital presentation l Digital presentation Compact - takes up little screen space Precise values can be communicated l Analogue presentation Easier to get an 'at a glance' impression of a value Possible to show relative values Easier to see exceptional data values

37 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 37 Dynamic information display

38 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 38 Displaying relative values

39 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 39 Textual highlighting

40 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 40 Data visualisation l Concerned with techniques for displaying large amounts of information l Visualisation can reveal relationships between entities and trends in the data l Possible data visualisations are: Weather information collected from a number of sources The state of a telephone network as a linked set of nodes Chemical plant visualised by showing pressures and temperatures in a linked set of tanks and pipes A model of a molecule displayed in 3 dimensions Web pages displayed as a hyperbolic tree

41 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 41 Colour displays l Colour adds an extra dimension to an interface and can help the user understand complex information structures l Can be used to highlight exceptional events l Common mistakes in the use of colour in interface design include: The use of colour to communicate meaning Over-use of colour in the display

42 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 42 Colour use guidelines l Don't use too many colours l Use colour coding to support use tasks l Allow users to control colour coding l Design for monochrome then add colour l Use colour coding consistently l Avoid colour pairings which clash l Use colour change to show status change l Be aware that colour displays are usually lower resolution

43 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 43 User support l User guidance covers all system facilities to support users including on-line help, error messages, manuals etc. l The user guidance system should be integrated with the user interface to help users when they need information about the system or when they make some kind of error l The help and message system should, if possible, be integrated

44 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 44 Help and message system

45 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 45 Error messages l Error message design is critically important. Poor error messages can mean that a user rejects rather than accepts a system l Messages should be polite, concise, consistent and constructive l The background and experience of users should be the determining factor in message design

46 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 46 Design factors in message wording

47 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 47 Nurse input of a patients name Please type the patient name in the box then click ok Bates, J. OKCancel

48 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 48 System and user-oriented error messages

49 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 49 Help system design l Help? means help I want information l Help! means HELP. I'm in trouble l Both of these requirements have to be taken into account in help system design l Different facilities in the help system may be required

50 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 50 Help information l Should not simply be an on-line manual l Screens or windows don't map well onto paper pages. l The dynamic characteristics of the display can improve information presentation. l People are not so good at reading screen as they are text.

51 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 51 Help system use l Multiple entry points should be provided so that the user can get into the help system from different places. l Some indication of where the user is positioned in the help system is valuable. l Facilities should be provided to allow the user to navigate and traverse the help system.

52 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 52 Entry points to a help system

53 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 53 Help system windows

54 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 54 User documentation l As well as on-line information, paper documentation should be supplied with a system l Documentation should be designed for a range of users from inexperienced to experienced l As well as manuals, other easy-to-use documentation such as a quick reference card may be provided

55 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 55 User document types

56 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 56 Document types l Functional description Brief description of what the system can do l Introductory manual Presents an informal introduction to the system l System reference manual Describes all system facilities in detail l System installation manual Describes how to install the system l System administrators manual Describes how to manage the system when it is in use

57 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 57 User interface evaluation l Some evaluation of a user interface design should be carried out to assess its suitability l Full scale evaluation is very expensive and impractical for most systems l Ideally, an interface should be evaluated against a usability specification. However, it is rare for such specifications to be produced

58 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 58 Usability attributes

59 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 59 Simple evaluation techniques l Questionnaires for user feedback l Video recording of system use and subsequent tape evaluation. l Instrumentation of code to collect information about facility use and user errors. l The provision of a grip button for on-line user feedback.

60 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 60 Key points l Interface design should be user-centred. An interface should be logical and consistent and help users recover from errors l Interaction styles include direct manipulation, menu systems form fill-in, command languages and natural language l Graphical displays should be used to present trends and approximate values. Digital displays when precision is required l Colour should be used sparingly and consistently

61 ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 61 Key points l Systems should provide on-line help. This should include help, Im in trouble and help, I want information l Error messages should be positive rather than negative. l A range of different types of user documents should be provided l Ideally, a user interface should be evaluated against a usability specification


Download ppt "©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 15Slide 1 Chapter 15 User Interface Design."

Similar presentations


Ads by Google