Reputation: 37
I'm generating linear graphs in ZEND framework using ez components, I would like to display some of em on a single page as a dashboard, how should I do that?
i'm thinking about creating an action for every graph in the controller but I couldn't find the proper way to display them as a dashboard
Upvotes: 0
Views: 75
Reputation: 1294
In typical MVC scenario single action renders single page so it is probably better idea to create model class for rendering the graphs and call it from action controller to populate view variables
Upvotes: 0