15.04.2018 Views

programming-for-dummies

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

292<br />

The Evolution of User Interfaces<br />

Graphical user interface<br />

The next great leap <strong>for</strong>ward in user interface design occurred with operating<br />

systems. In the early days of computers, most operating systems offered<br />

only command-line user interfaces, so programs had to create their own<br />

pull-down menu user interfaces themselves. There<strong>for</strong>e, every program tends<br />

to look slightly different even if it used nearly identical pull-down menus.<br />

To create a consistent appearance <strong>for</strong> all programs and give users the ability<br />

to run two or more programs at the same time, operating systems soon<br />

abandoned their clunky command-line user interfaces and adapted a graphical<br />

user interface (abbreviated as GUI).<br />

The main purpose of a GUI is to give users the chance to point and click the<br />

commands they want rather than <strong>for</strong>ce them to type in the actual command<br />

name.<br />

An operating system’s GUI offered three advantages:<br />

✦ All programs appeared with a consistent look.<br />

✦ Each program appeared in its own window.<br />

✦ Users could cut, copy, and paste data from one window (program) to<br />

another.<br />

Be<strong>for</strong>e GUI operating systems, such as Mac OS X or Microsoft Windows, two<br />

programs might both display similar pull-down menus, but one program<br />

might display it in black against a white background whereas the other program<br />

might display it in red against a blue background. Such visual differences<br />

might be functionally trivial, but the jarring visual differences could<br />

make figuring out different programs harder <strong>for</strong> many people.<br />

By <strong>for</strong>cing all programs to look similar, GUI operating systems made figuring<br />

out programs much easier. After you knew how one program worked, you<br />

could easily switch to another one.<br />

✦ GUI operating systems can display individual programs in separate windows.<br />

Previously, computers could only run a single program at a time,<br />

and that program would gobble up the entire screen.<br />

With GUI operating systems, each program could only appear in a separate<br />

window. That way you could run multiple programs at a time,<br />

arrange them in separate windows, and see and switch between each<br />

program just by clicking a different window.<br />

✦ GUI operating systems let you share data between separate windows. So if<br />

one window runs a word processor and a second window runs a database,<br />

you could copy and paste data from one program into the other. Without a

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

Saved successfully!

Ooh no, something went wrong!