Which design pattern, if employed in the refactoring exercise, would most directly address the two issues?

While analyzing an existing web application, you observe the following issues in the source
code: Duplicate control code is scattered throughout various view. Business and
presentation logic are mixed within these view. The next phase of the project involves
refactoring the existing code to address these two issues. Which design pattern, if employed
in the refactoring exercise, would most directly address the two issues?

While analyzing an existing web application, you observe the following issues in the source
code: Duplicate control code is scattered throughout various view. Business and
presentation logic are mixed within these view. The next phase of the project involves
refactoring the existing code to address these two issues. Which design pattern, if employed
in the refactoring exercise, would most directly address the two issues?

A.
Service to Worker

B.
Dispatcher view

C.
DAO

D.
Composite View



Leave a Reply 1

Your email address will not be published. Required fields are marked *