[TYPO3-core] Naming of Files and Classes

Thomas Maroschik tmaroschik at dfau.de
Mon Jul 16 12:29:53 CEST 2012


Hey Steffen and Benni,

get in contact with me. We made some progress regarding this at the 
Freiburg Code Sprint. We should schedule a meeting including Ingmar as 
this should get into 6.0

Otherwise we would have to wait until 7.0

Regards,

Tom

Am 21.06.12 18:08, schrieb Steffen Ritter:
> Hi Benni,
>
> in short: I'd like to cleanup classnames and the one class per file policy.
> Even backwords compatibility is possible since PHP supports
> class_alias(OLD, NEW) - with that it would even be possible to namespace
> new classes and old extensions still could use them.
> There even is no real performance impact as it's native php class loader
> functionilty.
>
> Moving files around I would love, too - but there I see problems with
> "include", "require_once", old XClass and so on.
>
> Tomas Maroschik and I worked on an migrator automatically restructuring
> and namespacing current t3lib Classes.
> For t3lib this worked quite well automatically - the sysexts are a real
> mess...
>
> Back then (DevDays Sursee) we created a empty file just require_once()
> the new one and loggedDeprecation to even be compatible with old
> "includes". Fot a 6.0 this might be ommitted.
>
> Tom still was working on such a converter, you should connect with him
> on the current state.
>
> regards
>
> Steffen
>



More information about the TYPO3-team-core mailing list