PrepAway - Latest Free Exam Questions & Answers

Which of the following Model and View interactions BEST satisfies the above requirements?

The following are the requirements for a Report-generation module in an application:
1.When new data is generated, the user-interface should be refreshed automatically to reflect the
latest values
2.Multiple view types are possible
Which of the following Model and View interactions BEST satisfies the above requirements?

PrepAway - Latest Free Exam Questions & Answers

A.
Establish subscribe/notify mechanism between view and model, with the model updating the
view based upon the view type.

B.
Establish a subscribe/notify mechanism between the view and model layers so that the views
get notified of the change.

C.
Develop intelligence within the model so that it decides which views are to be refreshed based
on the view type.

D.
Combine the view and model layers into a single entity so that the interactions are localized and
notifications are instantaneous.


Leave a Reply