[TYPO3-core] Class namespaces with 6.0

Tobias Liebig tobias.liebig at typo3.org
Tue Aug 21 16:33:01 CEST 2012


Hej Oli, Tom, Susi and Christian,

I'm curious, if you did took any decision regarding the namespace naming during the sprint or afterwards?

regards
  tobias


Am 04.08.2012 um 12:43 schrieb Oliver Hader <oliver.hader at typo3.org>:

> Hey everybody,
> 
> ... and thanks for your detailed explanation and feedback so far.
> Currently we (Tom, Susi, Christian and me) are sitting in Fürth/DE to
> finalize the namespace schemes for TYPO3 6.0.
> 
> However, one question still is basically unanswered - it's about our own
> namespace for "the current TYPO3" - "\TYPO3" is used by FLOW3 and
> Phoenix already, and if we once want to include FLOW3 packages to TYPO3
> 6.x/7.x, we will face conflicts (e.g. \TYPO3\Fluid which would be
> available in both projects, however with different source code).
> 
> Thus, for TYPO3 6.0 we have currently two alternatives for "\TYPO3":
> * \T3 (example \T3\Backend\..., \T3\Fluid, ...)
> * \TYPO3CMS (example \TYPO3CMS\Backend\..., \T3\Fluid\...)
> 
> We are going to take the decision today be able to continue with the
> whole task and be ready until the feature freeze in some days...
> 
> So, if you have objections, questions, ideas or suggestions - then
> please speak up now. Thanks in advance for any feedback!
> 
> Cheers,
> Olly
> 
> 
> Am 24.07.12 00:07, schrieb Christian Kuhn:
>> So, what do we aim for?
>> - Goal is a clean namespacing for all classes in the core, for example
>> under main topic '\TYPO3CMS'
>> - Goal is to become more close to the FLOW3 project, we want more easy
>> transition of code, and maybe even load packages from FLOW3 as is, or
>> the other way around
>> - We want no more naming clashes
>> - Goal is a clearly separated and indistinguishable naming scheme for
>> all core and core extension classes
>> - Goal is to get rid of evil class names that do not say a thing like
>> 't3lib_div' or 't3lib_tsStyleConfig' or 'tslib_content'.
>> - Goal is to define an easy definition for namespaces like
>> \vendor\extension to further reduce possible clashes
> 
> 
> -- 
> Oliver Hader
> TYPO3 v4 Core Team Leader
> 
> TYPO3 .... inspiring people to share!
> Get involved: http://typo3.org
> _______________________________________________
> Before posting to this list, please have a look to the posting rules
> on the following websites:
> 
> http://typo3.org/teams/core/core-mailinglist-rules/
> http://typo3.org/development/bug-fixing/diff-and-patch/
> _______________________________________________
> TYPO3-team-core mailing list
> TYPO3-team-core at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-team-core

-- 
Tobias Liebig
TYPO3 Core Team member

TYPO3 .... inspiring people to share!
Get involved: typo3.org

http://bit.ly/supportTYPO3

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20120821/b7f87010/attachment.htm>


More information about the TYPO3-team-core mailing list