On 04/05/2011 12:29, Oscar Merida wrote:
On Tue, May 3, 2011 at 10:20 PM, Simon Walter<[email protected]> wrote:
From looking at some of the module related methods of
Zend_Controller_Front, I'm wondering if the dispatcher(?) scans *all* the
module directories and does some bootstraping or loading of all modules
regardless of if they are being accessed. Or if it is *only* the module
specified in the route/URL?
Module bootstraps are run on every request, I found Matthew's post very
helpful:
http://weierophinney.net/matthew/archives/234-Module-Bootstraps-in-Zend-Framework-Dos-and-Donts.html
This is very interesting and helpful. I've looked at some of the others'
code and comments. There's no use in waiting for ZF2. Hopefully my code
will be neat enough to change easily over to any new and powerful ZF2
module related techniques once that's ready.
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]