Software Engineering for Students A Programming Approach

Software Engineering for Students A Programming Approach Software Engineering for Students A Programming Approach

web.firat.edu.tr
from web.firat.edu.tr More from this publisher
21.08.2013 Views

CHAPTER 5 This chapter explains: 5.1 ● Introduction User interface design ■ the principles, techniques and guidelines for designing a user interface. The interface that the user sees when they use the computer is the single, paramount aspect of the system. The interface is the packaging for software. The user does not know and probably does not care how the system works (provided that it is reliable and fast), but they do care what it does and how to use it. If it is easy to learn, simple to use, straightforward and forgiving, the user will be encouraged to make good use of what’s inside. If not, they won’t. The user interface is often the yardstick by which a system is judged. Interfaces can be hard to learn, difficult to use, unforgiving and sometimes totally confusing. An interface which is difficult to use will, at best, result in a high level of user errors. At worst, it will cause the software to be discarded, irrespective of its functionality. These are the challenges of user interface design. User interface design offers the software engineer: ■ some principles to guide interface design (e.g. simplicity, learnability) ■ some guidelines for good interfaces ■ a process for developing good interfaces, based on prototyping ■ methods for evaluating interfaces. Today prototyping (Chapter 23) is considered essential for user interface development – a prototype is made available to users and the resulting feedback used to improve the interface design.

54 Chapter 5 ■ User interface design It is common in user interface design to distinguish between principles and guidelines (or rules): ■ principles are high level and general. An example of a principle is: maintain consistency throughout the interface. ■ guidelines are specific and detailed. An example of a guideline is: black text on a white background is clearer than white text on a black background. Guidelines are direct, immediate and therefore easy to apply, but principles have to be interpreted and applied to the specific system. 5.2 ● An inter-disciplinary field User interface design or human–computer interaction (HCI) is very much an interdisciplinary subject, with contributions from computer science, cognitive psychology, sociology and ergonomics. Cognitive scientists are concerned with how human beings perceive the world, think and behave at an individual level. Sociologists study groups of people and their interactions. Ergonomics is about designing systems that are easy to use. Software engineers must often take responsibility for user interface design as well as the design of the software to implement that interface. These different disciplines bring different perspectives to bear on designing the human–computer interface. User interface design has as much to do with the study of people as it does with technology. Who is the user? How does the user learn to interact with a new system? How does the user interpret information produced by the system? What will the user expect of the system? These are just a few of the questions that must be answered as part of user interface design. User interface design must take into account the needs, experience and capabilities of the user. It is nowadays considered important that potential users should be involved in the design process. The different specialisms reflect different views about the interaction between people and computers. At one level it is possible to view HCI as the interaction between one individual and the computer. At this level, the concerns are about such things as the amount of information displayed on the screen and the colors chosen. In the workplace, however, the computer system is often part of the wider context of the work being carried out. Usually, other people are also involved in the work, so that the sociology of the workplace has a role. The questions here may be: Who does what? How can person A and person B communicate most effectively? 5.3 ● Styles of human–computer interface The manner in which users tell the computer what they want to do has changed dramatically over the last ten years. Broadly, there have been three types of interface: command line, menu and GUI (graphical user interface). In the early days of computing, the only mode of HCI was the command line interface. Communication was purely textual and was driven either via commands or by

54 Chapter 5 ■ User interface design<br />

It is common in user interface design to distinguish between principles and guidelines<br />

(or rules):<br />

■ principles are high level and general. An example of a principle is: maintain consistency<br />

throughout the interface.<br />

■ guidelines are specific and detailed. An example of a guideline is: black text on a<br />

white background is clearer than white text on a black background.<br />

Guidelines are direct, immediate and there<strong>for</strong>e easy to apply, but principles have to be<br />

interpreted and applied to the specific system.<br />

5.2 ● An inter-disciplinary field<br />

User interface design or human–computer interaction (HCI) is very much an interdisciplinary<br />

subject, with contributions from computer science, cognitive psychology,<br />

sociology and ergonomics. Cognitive scientists are concerned with how human beings<br />

perceive the world, think and behave at an individual level. Sociologists study groups of<br />

people and their interactions. Ergonomics is about designing systems that are easy to<br />

use. <strong>Software</strong> engineers must often take responsibility <strong>for</strong> user interface design as well<br />

as the design of the software to implement that interface. These different disciplines<br />

bring different perspectives to bear on designing the human–computer interface.<br />

User interface design has as much to do with the study of people as it does with technology.<br />

Who is the user? How does the user learn to interact with a new system? How<br />

does the user interpret in<strong>for</strong>mation produced by the system? What will the user expect<br />

of the system? These are just a few of the questions that must be answered as part of<br />

user interface design. User interface design must take into account the needs, experience<br />

and capabilities of the user. It is nowadays considered important that potential<br />

users should be involved in the design process.<br />

The different specialisms reflect different views about the interaction between people<br />

and computers. At one level it is possible to view HCI as the interaction between one<br />

individual and the computer. At this level, the concerns are about such things as the<br />

amount of in<strong>for</strong>mation displayed on the screen and the colors chosen. In the workplace,<br />

however, the computer system is often part of the wider context of the work being carried<br />

out. Usually, other people are also involved in the work, so that the sociology of<br />

the workplace has a role. The questions here may be: Who does what? How can person<br />

A and person B communicate most effectively?<br />

5.3 ● Styles of human–computer interface<br />

The manner in which users tell the computer what they want to do has changed dramatically<br />

over the last ten years. Broadly, there have been three types of interface: command<br />

line, menu and GUI (graphical user interface).<br />

In the early days of computing, the only mode of HCI was the command line interface.<br />

Communication was purely textual and was driven either via commands or by

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!