Suppose we have an application with three windows: oneView, twoView, threeView.
I've should have a main controller and other three controller, one for each view.
When the software starts, the main controller should instantiate and open the first view. When i click on the link for the second view, i should call the "openSecondView" method in the controller. The controller instantiate twoView and open it. twoView store a reference for the twoController with it own methods and that extends the mainController...
In other words, we can see a software like a tree structure, driven by a maincontroller (the trunk) and from wich other controllers (branches) inherit. A branch can generate other branches and each of them should inherit from the previos branch. When i'm on the branch number 43 i can easly go back to the branch 42, 41, 40 and so on, until the main trunk.
In any moment what i can see in the sofwtare is avaible in any moment inside my code, because i've all data stored inside controllers (always in memory) and models?
Is it the main
philosophy of mvc
pattern?