I got a dashboard in my application, on which I want to have a 'recent activity'.
This info can come from all over the application (for example the following models: Timesheet, Expense, Invoice, ...).
Upon calling the dashboard screen I need to get info from all those models. I will call them with a parameter (for example: last 24h, or last week, etc...) and each model should send it's data.
Is there an applicable design pattern that would be wise to use here? (I have a dashboard model as well).
Aucun commentaire:
Enregistrer un commentaire