Docsity

Applying GoF and GoV Patterns for Configurable Utility and Secure Common Subsystems, Exercises of Software Engineering

Toggle sidebar
bg1
Patterns in Software Engineering
Assignment 2
Assignment
2
1. In each of the following situations, use combinations of GoF and GoV patterns to
achieve the goals stated In each case provide a brief discussion on the potential
achieve
the
goals
stated
.
In
each
case
,
provide
a
brief
discussion
on
the
potential
deficiencies of your proposed solution:
īš…A number of utility subsystems cooperate with each other to provide services to client
bt I dtil t h i th
tilit
bt i ld
su
b
sys
t
ems.
I
n or
d
er
t
o
i
mp
l
emen
t
eac
h
serv
i
ce,
th
e u
tilit
y su
b
sys
t
ems
i
nvo
l
ve
d
should be linked together in a chain. The goal is to design the system so that the
services provided to each client are configurable, and can be reconfigured at runtime.
īš…A number of subsystems interact with a common subsystem in a complex fashion.
Providing security to the common subsystem has become important. Security methods
are com
p
lex
,
and im
p
ose a heav
y
load on s
y
stem resources
;
hence
,
the
y
are not
p, p y y ; , y
applied at the same level all the time. The level of security depends on administrator
settings and the level of risk encountered. The goal is to design the system so that the
common subsystem is provided with adequate security at all times, while system
resources are used sparingly.
2. Study Chapter 4 of the POSA book (available on the course webpage):
G
h// /jli/ /C
bifl
īš…
G
o to
h
ttp:
//
users.rcn.com
/j
cop
li
en
/
Patterns
/C
++I
oms
EuroPLoP
.
tm
;
b
r
i
e
fl
y
introduce two C++ idioms that you have used in programming without knowing that
they are actually idioms.
Department of Computer Engineering 1Sharif University of Technology

Partial preview of the text

Download Applying GoF and GoV Patterns for Configurable Utility and Secure Common Subsystems and more Exercises Software Engineering in PDF only on Docsity!

Patterns in Software Engineering

Assignment 2Assignment

1. In each of the following situations, use combinations of GoF and GoV patterns to

achieve the goals stated

In each case

provide a brief discussion on the potential

achieve the goals stated. In each case, provide a brief discussion on the potentialdeficiencies of your proposed solution:

A number of utility subsystems cooperate with each other to provide services to client

b

t

I

d

t

i^

l^

t

h

i^

th

tilit

b

t

i^

l^

d

subsystems. In order to implement each service, the utility subsystems involvedshould be linked together in a chain. The goal is to design the system so that theservices provided to each client are configurable, and can be reconfigured at runtime.

A number of subsystems interact with a common subsystem in a complex fashion.Providing security to the common subsystem has become important. Security methodsare complex, and impose a heavy load on system resources; hence, they are not

p

,^

p

y

y

y

applied at the same level all the time. The level of security depends on administratorsettings and the level of risk encountered. The goal is to design the system so that thecommon subsystem is provided with adequate security at all times, while systemresources are used sparingly.

2. Study Chapter 4 of the POSA book (available on the course webpage):

G

h

/j

li

/C

di

98 h

l^

b i fl

G

o to http://users.rcn.com/jcoplien/Patterns/C++Idioms/EuroPLoP98.html ; briefly introduce two C++ idioms that you have used in programming without knowing thatthey are actually idioms.

Department of Computer Engineering

Sharif University of Technology