[eluser]huggiebear[/eluser]
I'm creating a newsletter application and it has to have three features:
1. Articles
2. Poll
3. Photo with random caption
All three of these elements have to be on the same page at the same time, so I'll lay it out so that links to the articles are on the left, the main article is in the middle and on the right is the poll and the captions.
Now do I create a single controller called newsletter, with all functions, such as getpollresults(), displaypollresults(), updatepollresults(), addpollquestion(), displayrandomcaption(), addrandomcaption() etc.
Or...
Do I have a separate controller for each, poll, that contains the poll methods, caption that contains the caption methods and display that show's it all.
I'd have thought I need the second option, but if this is the case, will I still be able to display everything on one page? I can only call a single view from a controller right?
Regards
Huggie