* Euan T is looking at ZF2
* Euan T thinks it has some of the worst Routing syntax he's ever seen. Ever.
// The following section is new and should be added to your file
'router' => array(
'routes' => array(
'album' => array(
'type' => 'segment',
'options' => array(
'route' => '/album[/:action][/:id]',
'constraints' => array(
'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
'id' => '[0-9]+',
),
'defaults' => array(
'controller' => 'Album\Controller\Album',
'action' => 'index',
),
),
),
),
),
* Euan T states array-ception!
* Tom K. pukes at said routing system
* Tom K. is sticking with Laravel xD
* Euan T is thinking that ZF2 really isn't going to be worth the bother for him to learn
* Euan T reckons a lot of loyalist ZF fans will likely think the same seeing as it's a complete rewrite from ZF (which in itself was always considered tough to learn)
* Josh H. actually likes that routing system in ZF2.
* Josh H. never really understood Laravel's
* faviouz wonders how one understands ZF2's routing system and not Laravel's.