2010年1月25日星期一

Re: [fw-mvc] Autoloading, 1.10 and beyond (incl. PHP namespaces)

Thanks for your reply, Matthew.

Would a "future refactor" likely mean 1.10 final, 1.11, or 2.0?

I'd be interested to see your ideas WRT module autoloading, it'd be really
nice to be able to use namespaces for my models, forms, etc., sooner rather
than later.

The ability to specify namespace to path mappings would surely make the
autoloader a lot faster? (instead of searching all available directories)

I'm not sure "includePath" in SplClassLoader (http://gist.github.com/221634)
is the best name to use, I was rather confused at first as to what it was.
It's more of a "basePath" or "rootPath" IMHO.

_da.
--
View this message in context: http://n4.nabble.com/Autoloading-1-10-and-beyond-incl-PHP-namespaces-tp1288828p1289318.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: