lowtower / zend-expressive2-tutorial

Album tutorial for zend-expressive v2
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

[Question] How to configure the album module routing ? #7

Open lowtower opened 7 years ago

lowtower commented 7 years ago

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?