#1341: autoload_folders
-------------------------------+--------------------------------------------
Reporter: JanS@… | Owner: david
Type: enhancement | Status: closed
Priority: low | Milestone: 1.1
Component: config | Version:
Severity: major | Resolution: wontfix
Keywords: autoload | Has_patch: 1
-------------------------------+--------------------------------------------
Comment(by david):
But why not migrate your stuff to PSR-0 or use Zend_Loader if it's not
using namespaces yet? I don't see the benefit of {{{glob()}}}ing stuff.
You'd usually have some kind of class prefix and delegate handling of that
prefix to an autoloader who can then just {{{include()}}} without further
checks (since it's reasonable to assume that if has full control over all
classes under the prefix).
Agavi of course is a different story in that it must use a class map
because its class and package hierarchy does not follow a fixed pattern,
but that's an unfixable situation for 1.x :(
--
Ticket URL: <http://trac.agavi.org/ticket/1341#comment:4>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets