[FLOW3-general] Package handling / autoloading

"Christian Müller (FLOW3 Team)" christian.mueller at typo3.org
Tue Jun 5 11:54:18 CEST 2012


Hi,

>
>>    * The "Classes" path, i.e. the autoload target, currently must be
>> "Classes" except stated in PackageStates.php.
> Making this configurable from the package is prepared already.

+2
>
>>    * Do we want so support co-delivered packages? I.e. a library that
>> itself might be PSR-0-compatible?
> Hm. I'd rather keep packages separate. But for smaller things… might be
> an option. What do the others think?
I would rather have them as seperate package then. That's IMHO the 
meaning and use of a package repository. If it is really small (like few 
files) you probably won't need an autoloader anyway but can include it 
directly in your Package.php or so, in that case I am fine with having 
it in Resources/PHP

-- 
Christian Mueller
TYPO3 Core Team

TYPO3 .... inspiring people to share!
Get involved: typo3.org



More information about the FLOW3-general mailing list