Hello,
I am trying to create a 3 module app (one back, one front and one core module). Core module should keep all the logic (mainly of models (but not limited to), so front and back can be inherited from core). It seems that this is not possible now, or maybe i am doing something wrong.
Following this app structure: . ├── backend │ ├── config │ │ └── config.php │ ├── controllers │ │ ├── ArticleController.php │ │ ├── BackendController.php │ │ └── IndexController.php │ ├── models │ ├── Module.php │ └── views │ └── default │ ├── article │ │ └── index.volt │ ├── common │ │ ├── menu.left.volt │ │ ├── menu.top.volt │ │ └── top.bar.volt │ ├── index │ │ └── index.volt │ └── layout.volt ├── core │ ├── config │ │ └── config.php │ ├── controllers │ │ └── CoreController.php │ ├── models │ │ ├── Category.php │ │ ├── Article.php │ │ └── Users.php │ └── Module.php └── frontend ├── config │ └── config.php ├── controllers │ ├── ControllerBase.php │ └── IndexController.php ├── models │ └── Category.php ├── Module.php └── views ├── index │ └── index.volt ├── index.phtml └── layouts
I want for example the backend controller to be extended from core controller. Since the routing points to backend module, it seems that the other modules are not registered (i assume it's a normal and good behavior). Do you have any solution to handle this approach ?
Thanks.