[TYPO3-project-4-3] autoloader using SPL

Ingo Renner ingo at typo3.org
Mon Aug 4 12:54:19 CEST 2008


Martin Kutschker wrote:

> But it doesn't hurt us to use the SPL autoload registry but it might
> make some folks happy.

I didn't speak against it ;) I'd prefer the SPL loader over the default 
one, too.

>>> Your solution is definitely more ambitious.
>> but should be doable. I actually think that it's not a big deal.
> 
> I didn't say you cannot do it. It's more or less a grep for "^class
> ([a-zA-Z0-9_]+) {"  on all .php files.
> 
> The only caveat is that t3lib and typo3/classes don't live in the ext.
> directories and must be handled in an extra run. And don't forget that
> it is for some reason possible to define the location of tslib via
> constants (start of index_ts.php), but I don't mind if that feature goes
> away.

sure, no unresolvable problems IMO


Ingo

-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2


More information about the TYPO3-project-4-3 mailing list