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. 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
End of preview
Want to access all the pages? Upload your documents or become a member.
Related Documents
System Design Analysis Using UML PDFlg...
|5
|950
|81
Academic Research and Writinglg...
|8
|1783
|87
Design Pattern | Interfaces and Objectslg...
|5
|1267
|11
Divide and Conquer: Strategy for Developing Complex Software Systemslg...