Initializing only one module per request.

1 message Options
Embed this post
Permalink
a_d_j_i

Initializing only one module per request.

Reply Threaded More More options
Print post
Permalink
Zend application provides a resource (modules) to initialize all the modules at bootstrap. I think it is better to initialize only one module per request (the requested one), I didn't find a way to do it so I writed a front controller plugin that bootstraps the requested module. The code we are using is in; http://blog.easytech.com.ar/2009/08/04/initializing-only-one-module-per-request-in-zend_framework/

I want to know if there is a better, more elegant solution. Thank in advance  adji.