[eluser]jleequeen[/eluser]
Hi all,
I have a question concerning how you make the decision to make something a controller instead of a method. I know that basically it probably is subjective and up to individual taste, but it's still nice to hear some views on the subject. Let me give you something I'm facing at the moment.
I have an application that up until now has not had a "dashboard" so to speak, it just defaulted to one of the crud controllers. Well, I need a dashboard now to put multiple things on and was wondering where something like that could go.
With crud based controllers it's easy. You typically have one per database (or model) and then expand from there. I've always had some issues of when to create new controllers, especially in this situation were we are only talking about a dashboard page. Is it worth creating a controller all it's own for it? And what about if I have two different types dashboards for different users?
I could also just put the dashboard "screen" up under say my admin controller. so to access it would be "admin/dashboard". But, is dashboard really an action?
Decisions, decisions?? What do you think?