« Return to Thread: Autoloading modules

Autoloading modules

by Jurian Sluiman :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi all,
I have read some autoloading articles here, but all examples are with no or
one module. My application has this structure (almost everything is inside a
module):


/application
/configs
/layouts
/modules
/default
/admin
/blog
/calendar


I have read this thread: http://www.nabble.com/Autoloading-module-resources-
with-1.8-Preview-td22956945.html. It does not end with a conclusion and the
documentation is not clear about the Zend_Application_Module_Loader.


How can I autoload all my modules? I can create for each module an autoloader
by scanning the application/modules directory. The thread mentioned above has
another approach: each module contains its own bootstrap with config. Are
there any advices about this rather new subject (the manual seems even unfinished)?


Best regards,
Jurian


 « Return to Thread: Autoloading modules