I just tought about divide in 2 controllers, because
previous MVC that
I used was Tony Bibbs (wonderful guy) MVCnPHP which
completly
separated commands from views. I didnt saw why until the
contractor
asked for various redirections between commands, and showing
more
views in a row (wizard like funtionality).
Tought about adding _c_ suffix for an action, because on
errors in
form it can almost automatically show its view (can extract
view from
action name), maybe extend controller class with some
_redirectViewAction($calling_fnc_name) function .
Again just wondering, but rather now than with 20
controllers in place
|