tags:

views:

257

answers:

3

I'm just browsing MVC examples so far, and I think I'm getting a handle on it. For my project - an embedded system on ARM9, no Windows/ASP at all - we are considering doing all the UI as MVC. Does MVC also require a strict Tree of all UI Views (one root?)

+2  A: 

No, one controller may have different views for different actions.

vartec
A: 

You can split the controller into a front controller and several actions. As reference see The MVC Pattern as implemented into Symfony framework.

DrFalk3n
A: 

If your views are parts of a full page you might also use the same view from different controllers. Ie header and footer.

idstam