[TYPO3-project-4-3] Splitting t3lib_div and having autoloader instead of inclusions

Steffen Kamper info at sk-typo3.de
Sun Sep 14 19:21:22 CEST 2008


Hi,

i try to sum up the discussion started in core list inside RFC for 
HTTP_STATUS-constants.

As the discussion is misplaced in corelist, Francois asked for moving this.

IDEA

Ingo came up with the idea to split t3lib_div into single classes.

To be compatible the idea was to use t3lib_div as a container having the 
functions inside but calling the new classes.
For using these classes an autoloader should be used as PHP5 comes along 
with such possibility.

Main point of the discussion was the naming issue.
* How should the new classes be named? Many proposals used underscores, 
Dmitry veto'd because of naming convention.
* where should the classes be located, in t3lib-folder or in subfolders?

AUTOLOAD

For use an autoload the naming issue should be solved first.

Ingo and Masi started with an SPL-idea
http://bugs.typo3.org/view.php?id=9116

I tried with such a funtion:
http://pastebin.com/m1c6ebeb2


I hope i didn't forgot an important thing, if so please add it.

vg Steffen


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