[TYPO3-dev] Naming-conventions and the "auto"-loader
    Martin Kutschker 
    masi-no at spam-typo3.org
       
    Sat Dec 26 10:36:49 CET 2009
    
    
  
Felix Oertel schrieb:
> Hi you guys,
> 
> first of all: happy christmas !
> (I think I will avoid ascii-art rudolph)
> 
> As I took a closer look on the "auto"-loader I recognized this hole
> registry-thing. IMHO an autoloader should be able to load a classfile
> automaticly, without the need of getting a registry-update before.
> 
> This allready happens for Tx_ files (extensions built with extbase), but
> not the TYPO3 core-files.
> 
> I thought about correcting the violations of naming conventions (class
> t3lib_pageSelector in class.t3lib_page.php e. g.) and giving the
> autoloader the ability to load files directly. (Should be possible
> following the conventions.)
t3lib/ has unfortunately some oddities. I suggested to rename those few, but never found the time
and energy to provide a patch for that. typo3/ should also use an naming scheme, but doesn't :(
I hope for 4.4 to clean up the directories and get a strictly name based autoloading for t3lib/ and
typo3/.
Masi
    
    
More information about the TYPO3-dev
mailing list