Right now, the tutorial uses the ConfigProvider approach for configuring the album module.
But the routing is defined in config/routes.php.
There are ways to implement a module based routing (explained in a zf blog entry).
I think, it's not consistent to keep the routing "global" while the rest is configured module based.
On the other hand, it might be too complicated for a getting-started-tutorial to implement it.
Question:
How should we deal with the routing of the album module?
Right now, the tutorial uses the
ConfigProvider
approach for configuring thealbum
module. But the routing is defined inconfig/routes.php
. There are ways to implement a module based routing (explained in a zf blog entry). I think, it's not consistent to keep the routing "global" while the rest is configured module based. On the other hand, it might be too complicated for a getting-started-tutorial to implement it.Question: How should we deal with the routing of the album module?