1.1.2 Question
Multiple Choice
You have been given requirements for a dashboard page that will contain summary information from your order processing system in a single display table. However, this summarization needs to be done by combining data requests from the order system, the shipping system, and the accounting system. The dashboard page will be the only place you use this combined data. What is the best way to implement this requireÂment?
- A. Make the various data requests and compile the information in the controller for display.
- B. Create an individual model for each of the data requests, and then create a view-specific model that calls those models and merges the data.
- C. Create a model for the summary data and handle the various data requests within that model as well as the merging of the data.
- D. Create an individual model for each of the data requests and then merge the data on the client side for display.