Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2 . Consider a change in requirements in the Registration lab work from previous weeks: each unit has a unit coordinator and the unit coordinator

2. Consider a change in requirements in the Registration lab work from previous weeks: each unit has a unit coordinator and the unit coordinators details include: coordinators name, room number, telephone number and email.
Reflect on the re-design you would need to do to cater for new requirements for the Registration codebase. How would you future-proof your design so that any new code that you write will introduce additional functionality to cater for new requirements and not keep on modifying existing code? (Open-Closed principle ) Note that in the past, you were given an example of what output the program should do. What if the output format was changed? Would you have to go back and change existing classes? Note that formatting concerns are part of the View in the Model-View-Controller pattern (MVC) discussed in the past. The data classes are part of the Model. Do not make the Model dependent on the View.
Ideally, to change the output format should only require a changed main program(client code) and not a change to the data classes. What about a change in the input format? For example, how would you cater for the input format shown at the end of the document? You will be using the first version of the input format for the rest of ict283.
You have a free hand in re-designing all the classes in the Registration codebase to attempt to future-proof them. Later, you will be learning from your successes and mistakes when you discover the amount of re-designing and coding that you must do to cater for expanded/changing requirements, if you do not design well and implement that chosen design carefully.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Main Memory Database Systems

Authors: Frans Faerber, Alfons Kemper, Per-Åke Alfons

1st Edition

1680833243, 978-1680833249

More Books

Students also viewed these Databases questions

Question

Define Administration?

Answered: 1 week ago

Question

1. Understand how verbal and nonverbal communication differ.

Answered: 1 week ago