Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
May 1, 2010, 1:38 pm
rate this thread
I wonder what might be the best way to implement repeating "sub"-
controllers and views in a MVC pattern.
Those could be menus, headers, footers a.s.o.
E.g. I could have a menu bar that exists on nearly every page of my
project. What would be the best approach to invoke this menu in my
"main" controllers and views?
Thanks in advance
Re: Repeating elements in MVC pattern (e.g. menu/layout)
On May 1, 6:38=A0pm, "benjamin.schneider...@googlemail.com"
menu is a part of view. model class will generate the array => model
will send it to controller => Controller will generate HTML from an
array => Controller will pass it to view.
Decos technology group,
Site : www.decos.in