Professional Documents
Culture Documents
SOFTWARE ARCHITECTURE
SESSION III: INTERACTIVE AND HIERARCHICAL SYSTEMS
All copyright information must appear if these slides are posted on a website for student use.
Interactive Systems
Overview
Patterns
Model-View-Controller
Hierarchical Systems
Main program and Subroutine
Layered
The broker pattern decreases coupling between client and servers by mediating
between them so that one client can transparently access the services of
multiple servers
Local
component that
interfaces with
Provides transparency
the actual DVR
between remote and local
hardware
components so that remote
component appears as local
Allow remote
clients to
interface with
the DvrSystem
Mediates between as if they were
client and server local
Important:
Initializing the Remember, this is
Broker System NOT the physical
view of the system!!
Important:
Requesting for Remember, this is
available disk space NOT the physical
view of the system!!
An async message is
sent out to the server
An async
message is
received with
the response
Meanwhile, on
the server side…
Retrieve the message id
to determine that it is a
get free space command
Core Data
Data In
Important:
View
Not a UML diagram!
1. Very large screen, Use hand gestures to
interact with control buttons in the systems
3. View is updated
to display results MVC for the Real
of service request. Estate System
Model: Encapsulates
core data and
functionality A view of
View: Display information
to the user the data
Controller: Receives input
and translates it to service Another view
Model
requests. of the data
Real estate data
View resides here. The
3. View is updated to model encapsulates
1. Small screen, no room for buttons, display results of service core data and
therefore, use speech to interact with system request. functionality
MVC has been successfully adapted as an architecture for the World Wide Web, e.g.,
see:
JavaScriptMVC
Backbone
06/08/2020 Software Engineering Design: Theory and Practice 17
HIERARCHICAL SYSTEMS
Hierarchical systems can be decomposed and structured in hierarchical fashion. Two common architectural patterns
for hierarchical systems are:
Main program and subroutine
Layered
Quality properties of the Main Program and Subroutine architectural pattern include:
Quality properties of the Layered architectural pattern include the ones specified below.