Answer the question
In order to leave comments, you need to log in
How to "bootstrap" in Zend Framework 1 with a modular structure?
Hello!
I am building an application on Zend Framework 1. The folder structure is as follows:
Answer the question
In order to leave comments, you need to log in
This is how it should be, because bootstrap occurs before routing, at this moment modules can add their routes and it will depend on which module the request will eventually get.
Also, the request handler may need resources / something else that is provided by a specific module
[en] https://mwop.net/blog/234-Module-Bootstraps-in-Zen...
PS: nothing prevents you from making your own bootstrap (or reread the existing code), which will initialize only the modules specified in the config (for example, for different installations of the system with a different set of modules)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question