Uploaded by Aiya

SA lab work4

advertisement
SoftwareArchitecture
Assignment 4. Creating Model
Name: Aiya Zeinulla
Part 1
PURPOSE
For this part, you will create a class diagram for your own project.
ACTIVITIES
1. Create a class diagram for your project
Part 2
PURPOSE
For this part, you willchoose the best pattern for your project.
In software development, a pattern (or design pattern) is a written document that
describes a general solution to a design problem that recurs repeatedly in many
projects.
ACTIVITIES
1. Choose the best pattern for your project
I used abstract factory pattern because the factory pattern is used in the
book class because multiple classes such as magazine, journal and
textbook need to be created and also to prevent the code for calling the
method in the subclasses to be written everywhere in the different
classes repeatly.
2. Fill a template for a software design pattern
Download