Displaying 1 result from an estimated 1 matches for "newsadmincontrol".
2006 Dec 10
5
model-controller-paradigm: What about admin controllers?
...e_filter or so.
So far so good. But the more complex our model becomes, the more we have
to mix admin logic with visitor logic.
So I guess it would be cleaner if we created not only one corresponding
controller, but two of them: a NewsController that is an interface
between data and visitors and a NewsAdminController that handles all the
CRUD-and-more stuff an admin can do.
Is this a good solution? I could then create a route that sends URL
calls like www.??.com/news to the NewsController and URL calls like
www.??.com/admin/news to the NewsAdminController...
Please tell me what you think about this. Are the...