1/132
Looks like no tags are added yet.
What is a framework?
A well-defined environment that exposes toolkits, functions, or algorithms used to develop new applications.
What does a framework provide?
A structure for creating applications, building executable versions, and sometimes deploying or running applications.
What are development platform and software development platform?
Other terms used to describe frameworks.
What is a UI toolkit?
A library of precomposed UI objects and predefined events or routines composed from the lower-level UI software layer.
What is the purpose of a UI toolkit?
To simplify programming by abstracting system details of event handling.
How does a UI toolkit improve user interfaces?
It promotes a consistent look, feel, and mechanism.
What are UI objects commonly called?
Widgets.
What is a widget?
An essential GUI component that displays information or provides a way for users to interact with an operating system or application.
What are examples of widgets?
Icons, menus, buttons, selection boxes, text boxes, progress indicators, checkmarks, scroll bars, windows, toggle buttons, forms, and images.
How is a UI toolkit structured?
To support large applications through individual events or routines that support major application functions.
What is the role of the main routine in a UI toolkit?
It consists of small decision routines that make appropriate calls to other routines.
How do routines and programs interact with the UI toolkit?
They interact with the window library created by the UI toolkit when processing code.
What are the two types of UI toolkit integration?
Standalone toolkits and toolkits integrated into a framework.
What is the Android UI execution framework and toolkit based on?
Java, although the Android operating system is derived from Linux at the lower level.
How does Android's event-processing model compare with Java AWT?
It is mostly the same, except for some processes in the Android UI toolkit.
How are Android framework features made available to applications?
Through application programming interfaces (APIs) written in Java.
What is the Android View System?
A rich and extensible system used to build an application's user interface.
What is the function of the Resource Manager?
It provides access to non-code resources such as localized strings, graphics, and layout files.
What is the function of the Notification Manager?
It enables applications to display custom alerts in the status bar.
What is the function of the Activity Manager?
It manages the lifecycle of applications.
What is the function of the Content Provider?
It enables applications to access data from other applications.
What generates Android events?
External actions such as touch and button input.
What are examples of higher-level Android events?
Touch gestures such as flicks and swipes, and virtual keyboard inputs.
What is the Android event queue?
A queue maintained by the Android framework where events are placed as they occur.
How are events removed from the Android event queue?
On a first-in, first-out (FIFO) basis.
What does FIFO mean?
First In, First Out; the first event placed in the queue is the first event removed.
What are the three major types of discrete iOS events?
Multi-touch, motion, and remote control events.
What is an example of an iOS remote control event?
Input from remote-controlled headphones.
What is UIKit?
The iOS framework that provides the required infrastructure for iOS and tvOS applications.
What architecture does UIKit provide?
Window and view architecture.
What are the three main functions supported by UIKit's window and view architecture?
Implementing interfaces, delivering input through event handling, and managing interactions through the main run loop.
What is the purpose of UIKit's event-handling infrastructure?
To deliver multi-touch and other types of input to an application.
What is the purpose of UIKit's main run loop?
To manage interactions among the user, the system, and the application.
What are the additional features of UIKit?
Animation, document, drawing and printing, device information, text management and display, search, accessibility, app extensions, and resource management.
What happens when a user touches an iOS application view?
iOS generates low-level events and sends them as UIEvent objects to the view where the touch occurred.
What is a UIEvent object?
An object defined by UIKit that represents a discrete event sent to an application view.
What does a view do after receiving a touch event?
It analyzes the touch event and responds to it.
What are examples of higher-level iOS gestures?
Flicks and swipes.
What is Core Motion?
A separate framework used for continuous streams of sensor data.
Which sensors are associated with Core Motion?
Accelerometers and gyroscopes.
What are accelerometers and gyroscopes used for?
Devices used to stabilize, guide, and/or measure rotational movement.
How is sensor data conveyed in iOS?
From iOS to the application and then to a particular view based on the application's UI structure.
What is JavaServer Faces (JSF)?
A Java web UI framework supported by Oracle.
What are the characteristics of JSF?
It has in-depth and complex documentation features and plays an important part in Java Enterprise Edition.
What is Struts?
An open-source framework used to create elegant Java applications.
What approach does Struts use?
The Model-View-Controller (MVC) approach.
What are the advantages and limitations of Struts?
It supports fast development and testing but is not flexible because of integrated coding and designing rules.
What is Wicket?
A lightweight web framework supported by Apache Software Foundation.
What is Wicket used for?
Designing simple but elegant applications using a component-based language.
What is a feature of Wicket?
It is useful, responsive, and allows easy HTML integration.
What is the Spool UI Kit?
A free mobile toolkit designed by Sergey Melnik.
How many screen designs does Spool UI Kit contain?
Six screen designs.
What format does Spool UI Kit use?
Photoshop Document (PSD) format.
Who designed the Travel UI Kit?
Ena Bacanovic.
How many screen designs does Travel UI Kit contain?
50 different screen designs.
What format does Travel UI Kit use?
Sketch format.
What is the Splash UI Kit?
A mobile UI toolkit powered by Envato Elements Pty Ltd.
What is Splash UI Kit used for?
Creating iOS mobile applications.
How many screens does Splash UI Kit contain?
More than 55 high-quality, ready-to-use screens.
What is Java Abstract Window Toolkit (AWT)?
A Java library of object classes containing useful classes for creating 2D user interface and graphical objects.
What does AWT stand for?
Abstract Window Toolkit.
What is the role of AWT in Java?
It is part of Java's UI execution framework.
What are AWTEvents?
Interaction events handled by Java AWT.
What are AWTEvents descendants of?
EventObjects.
What are examples of AWTEvents?
Mouse clicks and keyboard input.
What are the five features of Java AWT?
Native UI components, robust event-handling model, graphics and imaging tools, data transfer classes, and layout managers.
What do native UI components provide in AWT?
A set of native user interface components.
What does AWT's event-handling model provide?
A robust way to handle interaction events.
What do AWT's graphics and imaging tools include?
Shape, color, and font classes.
What are AWT data transfer classes used for?
Cut-and-paste operations through the native platform clipboard.
What are AWT layout managers used for?
Creating flexible window layouts independent of window size or screen resolution.
What is an interactive system development framework?
An established modular approach where core computation and interface parts are developed separately and combined flexibly.
What provides the abstraction for the interface part of an interactive system development framework?
The user interface (UI) toolkit.
What is an example of an interactive system development framework?
Model-View-Controller (MVC).
What is MVC?
A well-known three-layer framework used to develop and implement user interfaces, especially web applications on computers.
What is another name for MVC?
MVC architecture.
Who initially proposed the MVC approach?
The designers of the programming language Smalltalk.
What was the original purpose of MVC?
A computational architecture for interactive programs rather than a methodology.
What is Smalltalk?
One of the first object-oriented and modular programming languages.
What are the three components of MVC?
Model, View, and Controller.
What does the Model represent in MVC?
Data and Logic.
What is the function of the Model?
It specifies the logical structure of data and associated high-level classes in an application.
What does the Model describe?
The processes in an application through a domain-specific representation of data.
What happens when a Model changes its state?
The domain notifies its associated views to refresh.
What is the banking example of the Model?
Maintaining account balance, computing interest, and making wire transfers.
Does the Model know how information is presented to users?
No. It does not know how information is presented or how transactions are made.
What does the View represent in MVC?
The Interface.
What is the function of the View?
It contains UI logic and presents the application's user interface as output.
What does the View do with the Model?
It renders the Model into a form suitable for user interaction.
Can one Model have multiple Views?
Yes. Multiple Views can exist for one Model for different purposes.
How are Views commonly implemented in modern GUIs?
Through widgets.
What is the banking example of the View?
Windows and widgets displaying possible transactions and an account balance.
Can Views differ across display platforms?
Yes. They can support different display platforms, such as a 17-inch monitor and a 10-inch LCD.
Can Views differ for different user groups?
Yes. Examples include young users and people with special needs.
Does a View's output have to be visual?
No. The output display does not necessarily have to be visual.
What does the Controller represent in MVC?
User Input.
What is the function of the Controller?
It serves as an interface between the Model and View components.
What does the Controller process?
Business logic, incoming requests, and user input.
How does the Controller manipulate data?
It uses the Model component.
How does the Controller produce the final output?
It interacts with Views to render the application's final output.