Ask a question from expert

Ask now

Applying Design Patterns on Aims Project PDF

10 Pages1815 Words93 Views
   

Added on  2021-11-19

Applying Design Patterns on Aims Project PDF

   Added on 2021-11-19

BookmarkShareRelated Documents
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]
Applying Design Patterns on Aims Project  PDF_1
2Applying Design Patterns on Aims Project
Table of Contents
1 The two Identified design pattern to be applied in the project and how............................................2
2 Analysis of individual project...............................................................................................................6
2.1 Where the identified patterns are applicable and why................................................................6
2.2 Problems the patterns would solve.............................................................................................7
2.3 Consequences arising due to using the patterns.........................................................................7
3 Explanation of planning to use the patterns in the project..................................................................8
4 Reference.............................................................................................................................................9
Applying Design Patterns on Aims Project  PDF_2
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.
Name Observer pattern
Intent It 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?
Context In 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.
Forces The 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
Applying Design Patterns on Aims Project  PDF_3

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
System Design Analysis Using UML PDF
|5
|950
|81

Academic Research and Writing
|8
|1783
|87

Design Pattern | Interfaces and Objects
|5
|1267
|11

Divide and Conquer: Strategy for Developing Complex Software Systems
|7
|1155
|93

Test Patterns in Software Engineering
|6
|1348
|349

The object oriented analysis and design
|5
|483
|13