[TYPO3-core] RFC: #9313: Introduce HTTP_STATUS-Constants

Martin Kutschker masi-no at spam-typo3.org
Mon Sep 8 21:14:21 CEST 2008


Benjamin Mack schrieb:
> Hey,
> 
> yes, I agree, I'd like to see a t3lib_http class that works similarly
> like the t3lib_div and that takes all the methods from t3lib_div that
> are related to that.
> 
> How about a new naming for the file, like
>   t3lib/div/class.http.php
> ? ;-)

Using a subdir makes no sense in this case. class.t3lib_http.php is enough

> Although I can see the ease of keeping compatibility by just do the
> include inside t3lib_div, this puts down the performance. Again, if we'd
> start using a autoloader functionality, we only include the classes we
> need at runtime. Not every page needs the XML functions that we
> currently have in t3lib_div, for instance.

Idea: move all stuff of t3lib_div into separate classes which are (in
the Core and 4.3-ready extensioons) loaded with the new (yet to come)
autoloader. t3lib_div will be an empty wrapper container that consists
only of includes of the new files and of a skeleton code that calls the
code of the new classes.

Masi



More information about the TYPO3-team-core mailing list