Module5 Implementation Support
Module5 Implementation Support
Design Process:
Implementation
Support
1
WINDOWING SYSTEM:
• Windowing system is a graphical user interface (GUI)
that allows multiple software applications or documents
to be displayed simultaneously on a single screen.
1. Device Independence
1.1 programming the abstract terminal device drivers.
1.2 image models for output and (partially) input
2. Resource Sharing
2.1 achieving simultaneity of user tasks
2.2 window system supports independent processes
2.3 isolation of individual applications
ROLES OF WINDOWING:
CLIENT SERVER ARCHITECTURE:
A classic example of
a window system
based on the client–
server architecture is
the industry-standard
X Window System
(Release 11),
developed at the
Massachusetts
Institute of
Technology (MIT) in
the mid-1980s
X Window System Architecture:
The X server performs the following
tasks:
• allows (or denies) access to the
display from multiple client
applications;
• interprets requests from clients to
perform screen operations or
provide other information;
• demultiplexes the stream of
physical input events from the user
and passes them to the appropriate
client;
• minimizes the traffic along the
network by relieving the clients from
having to keep track of certain
display information, like fonts, in
complex data structures that the
clients can access by ID numbers.
Programming the Application:
The read–evaluate loop paradigm
The application has complete
control over the processing of
events that it receives.
Programming the Application:
The read–evaluate loop paradigm
The downside is that the programmer must
execute this control over every possible event
that the client will receive, which could prove a
very cumbersome task.
Programming the Application:
The notification-based
Control flow is centralized in the
notifier, which relieves the
application program of much of
the tedium of processing every
possible event passed to it by
the window system.
Using Toolkits
A toolkit provides the programmer with a set of ready-made
interaction objects – alternatively called interaction
techniques, gadgets or widgets – which she can use to
create her application programs.
Using Toolkits
A toolkit provides the programmer with a set of ready-made
interaction objects – alternatively called interaction
techniques, gadgets or widgets – which she can use to
create her application programs.
26