Question about the MVC pattern |
[eluser]loathsome[/eluser]
The application have, as per today, about 10 controllers, and right now every single one of them looks like this: Code: class VerifyId extends Controller { It'd be so much simpler to just FORGET about fetching the menu, and let the model do it's job directly from the view file. Don't you agree? How does other applications do it, when having for example a sidebar? I really fail to see how my method is "wrong", seeing as it is much, much easier to apply. Still, I want to do this the right way. @randy Casburn: What do you mean by a «controller interface»? Many thanks. |
Messages In This Thread |
Question about the MVC pattern - by El Forum - 07-11-2008, 11:05 AM
Question about the MVC pattern - by El Forum - 07-11-2008, 04:33 PM
Question about the MVC pattern - by El Forum - 07-11-2008, 08:05 PM
Question about the MVC pattern - by El Forum - 07-11-2008, 08:28 PM
Question about the MVC pattern - by El Forum - 07-11-2008, 09:40 PM
Question about the MVC pattern - by El Forum - 07-11-2008, 09:41 PM
Question about the MVC pattern - by El Forum - 07-11-2008, 10:24 PM
Question about the MVC pattern - by El Forum - 07-11-2008, 10:42 PM
Question about the MVC pattern - by El Forum - 07-11-2008, 10:58 PM
Question about the MVC pattern - by El Forum - 07-11-2008, 10:59 PM
Question about the MVC pattern - by El Forum - 07-11-2008, 11:02 PM
Question about the MVC pattern - by El Forum - 07-11-2008, 11:05 PM
Question about the MVC pattern - by El Forum - 07-11-2008, 11:17 PM
Question about the MVC pattern - by El Forum - 07-11-2008, 11:22 PM
Question about the MVC pattern - by El Forum - 07-12-2008, 12:40 AM
Question about the MVC pattern - by El Forum - 07-12-2008, 02:17 AM
Question about the MVC pattern - by El Forum - 07-12-2008, 07:13 AM
Question about the MVC pattern - by El Forum - 07-12-2008, 08:43 AM
Question about the MVC pattern - by El Forum - 07-12-2008, 09:09 AM
Question about the MVC pattern - by El Forum - 07-12-2008, 09:30 AM
Question about the MVC pattern - by El Forum - 07-12-2008, 09:39 AM
Question about the MVC pattern - by El Forum - 07-12-2008, 09:48 AM
Question about the MVC pattern - by El Forum - 07-12-2008, 10:29 AM
Question about the MVC pattern - by El Forum - 07-12-2008, 11:04 AM
Question about the MVC pattern - by El Forum - 07-12-2008, 01:07 PM
Question about the MVC pattern - by El Forum - 07-12-2008, 06:51 PM
Question about the MVC pattern - by El Forum - 07-12-2008, 08:20 PM
|