.
, , ModuleManager " ", ( - config/module.config.php ) ( "modules" application.config.php), : , "".
, "XYZ" "A", "B", "B" "A".
, ZfcUser , .
'modules' => array(
'ZfcUser',
'Application',
),
1) ?
, ( zftool ), views/{module name} (views/zfc-user ZfcUser).
/{module-name}/view/zfc-user/user/login.phtml - , URL-/user/login: script.
2) ?
, ZfcUser,
'controllers' => array(
'invokables' => array(
'zfcuser' => 'ZfcUser\Controller\UserController',
),
),
"zfcuser"
'defaults' => array(
'controller' => 'zfcuser',
'action' => 'index',
),
ZfcUser , template_path_stack "zfcuser", , , (, ).
ZfcUser UserController, , follow ( )
'controllers' => array(
'invokables' => array(
'zfcuser' => 'Application\Controller\UserController',
),
),
\Controller\UserController , (, ).
3) ?
"config" , , 2: .
ZfcUser - , , , , , . config/zfcuser.global.php.dist: , .dist, {Application}/config/autoload, ( ).
, , , , ...
, , , .
, , , :)