Hello everyone, I am subclassing Zend_Loader to allow my module
classes to reside in a subdirectory of application/modules/module_name
(as you can see, I use standard conventions).
I think will be useful to add prefix management methods in Zend_Loader
similar to Zend_Loader_PluginLoader ones. This will allow to map
classes like Ns_Modulename_Table_* to a
application/modules/Modulename/classes/Table/*.php; "Ns" is intended
as a namespace acronym like Gtk, Spl...
With the current implementation of autoload() that I am overriding, I
will have to add directories like
application/modules/Modulename/Ns/Modulename.. that is just horrible.
It would be nice to do Zend_Loader::addPrefix('Ns_Modulename',
'application/modules/Modulename/classes').
Should I open a feature request?-- Giorgio Sironi Piccolo Principe & Ossigeno Scripter http://www.sourceforge.net/projects/ossigeno
