Limited-time offer! Save up to 50% Off | Solutions starting at $6 each  

Applying Design Patterns on Aims Project PDF

Added on - 19 Nov 2021

Trusted by +2 million users,
1000+ happy students everyday
Showing pages 1 to 3 of 10 pages
1Applying Design Patterns on Aims Project
APPLYING DESIGN PATTERNS ON AIMS PROJECT
By (Student names)
[Course Name]
[Lecture Name]
[University Name]
[City where the university is located]
[Date]
2Applying Design Patterns on Aims Project
Table of Contents
1The two Identified design pattern to be applied in the project and how............................................2
2Analysis of individual project...............................................................................................................6
2.1Where the identified patterns are applicable and why................................................................6
2.2Problems the patterns would solve.............................................................................................7
2.3Consequences arising due to using the patterns.........................................................................7
3Explanation of planning to use the patterns in the project..................................................................8
4Reference.............................................................................................................................................9
3Applying Design Patterns on Aims Project
1The two Identified design pattern to be applied in the project and
how
The pattern in the project design process is used to identify the various common types of
problems and also provides the solutions structures that are best to solve the problems, the
patterns do not deal with certain specified problems but instead they deals with the general types
of problems.
In the AIM individual project there are two major patterns learnt that I found essential to be
applied in the project, among the two patterns includes the observer pattern and the singleton
pattern.
The design patterns has a specific pattern where they have the Intent, Problem descriptions, the
Contexts, Forces, the Solution, the Sketch and the resulting Contexts as shown below.
i.Observer pattern.
NameObserver pattern
IntentIt defines the one-to-many dependencies between the objects such that while one objects
state change all its dependents automatically get notifications and updates.
Problem
Descriptio
n
How the states are maintained in a consistent manner between the disparate and
independent parts of the software application?
ContextIn case there are two parts that relates to each other and one of the part is dependent of the
other part. The two parts encapsulation in separate objects enables one to do modification
and re-use those objects independently.
In case one wants a simple interface to allow the object to notify wide variety of other
objects with a loose coupling.
In case one is changing object that requires another object and one do not know number of
other objects that require to be changed.
ForcesThe increase in coupling enable one object to know the time any other object changes the
states. As a result of increased coupling the software design becomes rigid and hard to
modify and less usable. The various dependent objects require knowing the other object’s
internal structures and therefore in case the structures change the various dependent objects
desklib-logo
You’re reading a preview
Preview Documents

To View Complete Document

Click the button to download
Subscribe to our plans

Download This Document