I understand correctly that in the Zend Framework, if I plan to have 5 pages on my site, do I usually need 5 controllers? Do ZF developers usually create 1 controller per page ("page" as an abstraction of an application unit)?
The reason I ask about this is because earlier, for some reason, I imposed many different actions on the controllers so that they play the role of pages, for example. index / add, index / view, index / delete and display various small screens, for example. small CRUD screens, unlike grids displayed by index action.
But now I want to check my new understanding that actions are mainly needed to update the model, and actions should immediately be redirected back to the controller / index after starting. Thus, it seems that views should be mainly used in index actions, and less often in other actions.
Is this sound architecturally sound?
AlexA source share