I propose to rename keyword "__NAMESPACE__" to "module" as we accustomed, as well as we can.
As example, I use module name: dash separated.
Then in Zend\Navigation\Page\Mvc add setModule function and in getHref() check its value.
So, it will be create Mvc Pages from array like ZF1
array(
'label' => 'Rus article',
'route' => 'libra-article',
'module' => 'libra-article',
'controller' => 'index',
'action' => 'index',
'params' => array(
'alias' => 'ru-page',
),
),
,
type every time __NAMESPACE__ is a little difficult.
The same regards of using of Zend\View\Helper\Url class
Also I propose to do default router like
http://pastie.org/4225607