Uid - Module - 1 Notes
Uid - Module - 1 Notes
MODULE 1 NOTES
1.1 Introduction
Defining the User Interface
User interface design is a subset of a field of study called human-computer interaction (HCI).
Human-computer interaction is the study, planning, and design of how people and computers
work together so that a person’s needs are satisfied in the most effective way.
The user interface is the part of a computer and its software that people can see, hear, touch,
talk to, or otherwise understand or direct. User interface has 2 components: Input, Output. Input
is how a person communicates his or her needs or desires to the computer. Ex. Keybord,mouse. Output
is how the computer conveys its results of its computations and requirements to the user. Ex. Display
screen.
A well-designed interface and screen is terribly important to our users. It is their window to
view the capabilities of the system. To many, it is the system, being one of the few visible
components of the product we developers create. It is also the vehicle through which many
critical tasks are presented. These tasks often have a direct impact on an organization’s
relations with its customers, and its profitability.
Based on an actual system requiring processing of 4.8 million screens per year and illustrated
in
Table 1.1
Studies have also shown that the proper formatting of information on screens does have a
significant positive effect on performance. The benefits of a well-designed screen have also
been under experimental scrutiny.
A general rule of thumb: every dollar invested in usability returns $10 to $100 (IBM, 2001).
A computer’s ability to deal with human communication was inversely related to what was
easy for people to do. The computer demanded rigid, typed input through a keyboard; people
responded slowly using this device and with varying degrees of skill. The human-computer
dialog reflected the computer’s preferences, consisting of one style or a combination of
styles using keyboards, commonly
referred to as Command Language, Question and Answer, Menu Selection, Function Key
Selection, and Form Fill-In.
Throughout the computer’s history, designers have been developing, with varying degrees of
success, other human-computer interaction methods that utilize more general, widespread, and
easier-to-learn capabilities: voice and handwriting. Systems that recognize human speech and
handwriting now exist, although they still lack the universality and richness of typed input.
A graphical user interface (GUI), often pronounced gooey, is a type of user interface that
allows users to interact with programs in more ways than typing such as computers.
The Xerox systems, Altus and STAR, introduced the mouse and pointing and selecting as the
primary human-computer communication method. The user simply pointed at the screen,
using the mouse as an intermediary.
Cathode ray tube display was first attached to a computer, more widespread interest in the
application of good design principles.
1970s, when IBM introduced its 3270 cathode ray tube text-based terminal.
1974, the 3270 was used in myriad ways in the office, and company-specific guidelines
for good screen design occasionally began to surface.
1970s screen often resembled the one pictured in Figure 1.1.
In 1980,guidelines for text-based screen design were finally made widely available and
many screens began to take on a much less cluttered look through concepts such as
grouping and alignment of elements, as illustrated in Figure 1.2.
The advent of graphics yielded another milestone in the evolution of screen design, as
illustrated in Figure 1.3.
The entry field was supplemented by a multitude of other kinds of controls, including list
boxes, drop-down combination boxes, spin boxes, and so forth. These new controls were
much more effective in supporting a person’s memory, now simply allowing for selection
from a list instead of requiring a remembered key entry.
Graphical Systems
Advantages
Disadvantages
A graphical interface, the primary interaction mechanism is a pointing device of some kind.
The user interacts with is a collection of elements referred to as objects. They can be seen,
heard, touched, or otherwise perceived Objects are always visible to the user and are used to
perform tasks. They are interacted with as entities independent of all other objects. People
perform operations, called actions, on objects. The operations include accessing and
modifying objects by pointing, selecting, and manipulating. All objects have standard
resulting behaviors.
Editing or restructuring could be easily accomplished (through rapid incremental actions) and
the results immediately seen. Actions could be reversed when necessary.
Indirect Manipulation
Direct manipulation of all screen objects and actions may not be feasible because of the
following:
The amount of space available for placing manipulation controls in the window border
may be limited.
It may be difficult for people to learn and remember all the necessary operations and
actions.
Visual presentation is the visual aspect of the interface. It is what people see on the screen.
The sophistication of a graphical system permits displaying lines, including drawings and
icons. It also permits the displaying of a variety of character fonts, including different sizes
and styles. The display of 16 million or more colors is possible on some screens. Graphics
also permit animation and the presentation of photographs and motion video.
The meaningful interface elements visually presented to the user in a graphical system
include:
Assorted screen-based controls - text boxes, list boxes, combination boxes, settings, scroll
bars, and buttons
The objective is to reflect visually on the screen the real world of the user as realistically,
meaningfully, simply, and clearly as possible.
2. Pick-and-click interaction:
To identify the element for a proposed action is commonly referred to as pick, the signal to
perform an action as click.
The primary mechanism for performing this pick-and-click is most often the mouse and
its buttons. The user moves the mouse pointer to the relevant element (pick) and the
action is signaled (click).
The secondary mechanism for performing these selection actions is the keyboard. Most
systems permit pick-and-click to be performed using the keyboard as well.
The array of alternatives available to the user is what is presented on the screen or what may
be retrieved through what is presented on the screen, nothing less, nothing more. This concept
fostered the acronym WYSIWYG.
4. visualization:
The best visualization method for an activity depends on what people are trying to learn
from the data. The goal is not necessarily to reproduce a realistic graphical image, but to
produce one that conveys the most relevant information. Effective visualizations can
facilitate mental insights, increase productivity and more accurate use of data.
5. Object orientation:
A graphical system consists of objects and actions. Objects are what people see on the
A) IBM’s Common User Access application breaks objects into three meaningful classes:
[Link]
[Link]
[Link].
Data objects present information. This information, either text or graphics, normally
appears in the body of the screen. It is, essentially, the screen-based controls for information
collection or presentation organized on the screen.
Container objects are objects to hold other objects. They are used to group two or more
related objects for easy access and retrieval. There are three kinds of container objects:
Workplace
Folders
Workareas.
The workplace is the desktop, the storage area for all objects. Folders are general-purpose
containers for long-term storage of objects. Workareas are temporary storage folders used for
storing multiple objects currently being worked on.
Device objects represent physical objects in the real world, such as printers or trash
baskets. These objects may contain others for acting upon. A file, for example, may be placed
in a printer for printing of its contents.
might be the result of a query or a multiple selection of objects. Operations can be applied to a
collection of objects.
A composite exists when the relationship between objects becomes so significant that the
aggregation itself can be identified as an object. Examples include a range of cells organized
into a spreadsheet, or a collection of words organized into a paragraph.
Properties help to describe an object and can be changed by users. Examples of properties are
text styles (such as normal or italics), font sizes (such as 10 or 12 points), or window
background colors (such as black or blue).
Actions
Commands are actions that manipulate objects. They may be performed in a variety of
ways, including by direct manipulation or through a command button. They are executed
immediately when selected. Once executed, they cease to be relevant. Examples of commands
are opening a document, printing a document, closing a window, and quitting an application.
2. The user then selects an action to apply to that object, such as the action BOLD.
3. The selected words are made bold and will remain bold until selected and changed
again.
Views
Views are ways of looking at an object’s information. IBM’s SAA CUA describes four kinds
of views: composed, contents, settings, and help.
Composed views present information and the objects contained within an object. They are
typically associated with data objects and are specific to tasks and products being worked with.
Contents views list the components of objects. Settings views permit seeing and changing
object properties. Help views provide all the help functions.
Continuous visibility of objects and actions encourages use of a person’s more powerful
recognition memory. The “out of sight, out of mind” problem is eliminated.
Graphic systems may do two or more things at one time. Multiple programs may run
simultaneously. When a system is not busy on a primary task, it may process background
tasks (cooperative multitasking). When applications are running as truly separate tasks, the
system may divide the processing power into time slices and allocate portions to each
application (preemptive multitasking). Data may also be transferred between programs. It may
be temporarily stored on a “clipboard” for later transfer or be automatically swapped between
programs.
1.7 The popularity of Web
While the introduction of the graphical user interface revolutionized the user
interface, the Web has revolutionized computing. It allows millions of people
scattered across the globe to communicate, access information, publish, and be
heard. It allows people to control much of the display and the rendering of Web
pages.
Web usage has reflected this popularity. The number of Internet hosts has risen
dramatically.
Users have become much more discerning about good design. Slow download
times, confusing navigation, confusing page organization, disturbing animation,
or other undesirable site features often results in user abandonment of the site for
others with a more agreeable interface.
Only limited by the amount of Actual user audience usually not well
programming undertaken to support it. understood. Often intended for anyone
and everyone.
Consistency Major objective exists within and Sites tend to establish their own
across [Link] by platform [Link] standards set within
toolkit and design guidelines. a site. Frequent ignoring of GUI
Universal consistency in GUI products guidelines for identical created through
generally toolkits and design guidelines.
components, especially controls.
User Integral part of most systems No similar help systems. Accessed
Assistance and applications. through standard mechanisms. The
little available help is built into the
Documentation, both online and page oriented to product or service
offline, offered.
Integration Seamless integration of all Apparent for some basic functions
applications into the platform within most Web sites (navigation,
environment is a major objective. printing, and so on.) in accomplishing
this objective. Sites tend to achieve
individual distinction rather than
integration.
Security Tightly controlled, proportional to Renowned for security exposures.
degree of willingness to invest Browser-provided security options
resources and effort. Not an issue for typically understood by average users.
most home PC users. When employed, may have
function-limiting side effects.
Reliability Tightly controlled in business Susceptible to disruptions caused by
systems, user, telephone proportional to degree
of willingness line and cable providers,
Internet service providers, to invest
resources and effort. hosting servers,
and remotely accessed sites.
Printed Pages versus Web Pages
Page size: Printed pages are generally larger than their Web counterparts. They are also
fixed in size, not variable like Web pages. The visual impact of the printed page is
maintained in hard-copy form, while on the Web all that usually exists are snapshots of
page areas. The visual impact of a Web page is substantially degraded, and the user may
never see some parts of the page because their existence is not known or require scrolling to
bring into view. The design implications: the top of a Web page is its most important
element, and signals to the user must always be provided that parts of a page lie below the
surface.
Page rendering: Printed pages are immensely superior to Web pages in rendering. Printed
pages are presented as complete entities, and their entire contents are available for reading
or review immediately upon appearance. Web pages elements are often rendered slowly,
depending upon things like line transmission speeds and page content. Design implications:
Provide page content that downloads fast, and give people elements to read immediately so
the sense of passing time is diminished.
Page layout: With the printed page, layout is precise with much attention given to it. With
Web pages layout is more of an approximation, being negatively influenced by deficiencies
in design toolkits and the characteristics of the user’s browser and hardware, particularly
screen sizes. Design implication: Understand the restrictions and design for the most
common user tools.
Page resolution: the resolution of displayed print characters still exceeds that of screen
characters, and screen reading is still slower than reading from a document. Design
implication: Provide an easy way to print long Web documents.
Page navigation: Navigating printed materials is as simple as page turning. Navigating the
Web requires innumerable decisions concerning which of many possible links should be
followed. Design implications are similar to the above— provide overviews of information
organization schemes and clear descriptions of where links lead.
Interactivity: Printed page design involves letting the eyes traverse static information,
selectively looking at information and using spatial combinations to make page elements
enhance and explain each other. Web design involves letting the hands move the
information (scrolling, pointing, expanding, clicking, and so on) in conjunction with the
eyes.
Page independence: Because moving between Web pages is so easy, and almost any page
in a site can be accessed from anywhere else, pages must be made freestanding. Every
page is independent. Printed pages, being sequential, fairly standardized in organization,
and providing a clear sense of place, are not considered independent. Design implication:
Provide informative headers and footers on each Web page.
It should be useful, accomplishing some business objectives faster and more efficiently
than the previously used method or tool did. It must also be easy to learn, for people want
to do, not learn to do.
The interface itself should serve as both a connector and a separator: a connector in that it
ties the user to the power of the computer, and a separator in that it minimizes the
possibility of the participants damaging one another. We will begin with the first set of
published principles, those for the Xerox STAR.
Visual order and viewer focus: Effective visual contrast between various components of
the screen is used to achieve this goal. Animation is also used to draw attention, as is sound.
Feedback must also be provided to the user.
Revealed structure: The distance between one’s intention and the effect must be
minimized. The relationship between intention and effect must be tightened and made as
apparent as possible to the user.
Appropriate effect or emotional impact: The interface must provide the appropriate
emotional effect for the product and its market. Is it a corporate, professional, and secure
business system? Should it reflect the fantasy, wizardry, and bad puns of computer games?
A match with the medium: The interface must also reflect the capabilities of the device on
which it will be displayed. Quality of screen images will be greatly affected by a device’s
resolution and color-generation capabilities.
General Principles
The design goals in creating a user interface are described below. They are fundamental to the
design and implementation of all effective interfaces, including GUI and Web ones. These
principles are general characteristics of the interface, and they apply to all aspects.
Aesthetically Pleasing
— Provide visual appeal by following these presentation and graphic design principles:
Provide meaningful contrast between screen elements.
Create groupings.
Align screen elements and groups.
Provide three-dimensional representation.
Use color and graphics effectively and simply.
Clarity
— The interface should be visually, conceptually, and linguistically clear, including:
Visual elements
Functions
Metaphors
Words and text
Compatibility
— Provide compatibility with the following:
The user
The task and job
The product
— Adopt the user’s perspective.
Comprehensibility
— A system should be easily learned and understood. A user should know the
following:
What to look at
What to do
When to do it
Where to do it
Why to do it
How to do it
— The flow of actions, responses, visual presentations, and
information should be in a sensible order that is easy to recollect and place in
context.
Configurability
— Permit easy personalization, configuration, and reconfiguration of settings.
Enhances a sense of control.
Encourages an active role in understanding.
Consistency
— A system should look, act, and operate the same throughout.
Similar components should:
Have a similar look.
Have similar uses.
Operate similarly.
— The same action should always yield the same result.
— The function of elements should not change.
— The position of standard elements should not change.
— In addition to increased learning requirements, inconsistency in design has a
number of other prerequisites and by-products, including:
— More specialization by system users.
— Greater demand for higher skills.
— More preparation time and less production time.
— More frequent changes in procedures.
— More error-tolerant systems (because errors are more likely).
— More kinds of documentation.
— More time to find information in documents.
— More unlearning and learning when systems are changed.
— More demands on supervisors and managers.
— More things to do wrong.
Control
--The user must control the interaction.
Actions should result from explicit user requests.
Actions should be performed quickly.
Actions should be capable of interruption or termination.
The user should never be interrupted for errors.
— The context maintained must be from the perspective of the user.
— The means to achieve goals should be flexible and compatible with the
user’s skills, experiences, habits, and preferences.
— Avoid modes since they constrain the actions available to the user.
— Permit the user to customize aspects of the interface, while
always providing a proper set of defaults.
Directness
— Provide direct ways to accomplish tasks.
Available alternatives should be visible.
The effect of actions on objects should be visible.
Efficiency
— Minimize eye and hand movements, and other control actions.
Transitions between various system controls should flow easily and
freely.
Navigation paths should be as short as possible.
Eye movement through a screen should be obvious and sequential.
— Anticipate the user’s wants and needs whenever possible.
Familiarity
— Employ familiar concepts and use a language that is familiar to the user.
— Keep the interface natural, mimicking the user’s behavior patterns.
— Use real-world metaphors.
Flexibility
— A system must be sensitive to the differing needs of its users, enabling a level and
type of performance based upon:
Each user’s knowledge and skills.
Each user’s experience.
Each user’s personal preference.
Each user’s habits.
The conditions at that moment.
Forgiveness
— Tolerate and forgive common and unavoidable human errors.
— Prevent errors from occurring whenever possible.
— Protect against possible catastrophic errors.
Predictability
— The user should be able to anticipate the natural progression of each task.
Provide distinct and recognizable screen elements.
Provide cues to the result of an action to be performed.
— All expectations should be fulfilled uniformly and completely.
— When an error does occur, provide constructive messages.
Recovery
— A system should permit:
Commands or actions to be abolished or reversed.
Immediate return to a certain point if difficulties arise.
— Ensure that users never lose their work as a result of:
An error on their part.
Hardware, software, or communication problems.
Responsiveness
— The system must rapidly respond to the user’s requests.
— Provide immediate acknowledgment for all user actions:
Visual.
Textual.
Auditory.
Simplicity
— Provide as simple an interface as possible.
— Five ways to provide simplicity:
Use progressive disclosure, hiding things until they are needed.
— Present common and necessary functions first.
— Prominently feature important functions.
— Hide more sophisticated and less frequently used functions.
Provide defaults.
Minimize screen alignment points.
Make common actions simple at the expense of uncommon actions being
made harder.
Provide uniformity and consistency.
Transparency
— Permit the user to focus on the task or job, without concern
for the mechanics of the interface.
Workings and reminders of workings inside the computer should be
invisible to the user.
Trade-Offs
— Final design will be based on a series of trade-offs balancing
often- conflicting design principles.
— People’s requirements always take precedence over technical
requirements.