[TYPO3-dev] A question about namespaces

Dmitry Dulepov dmitry.dulepov at gmail.com
Tue Mar 19 10:20:04 CET 2013


Hi!

Ernesto Baschny [cron IT] wrote:
> To me a proper identification of this package as being a "TYPO3 CMS
> Extension" is missing. I.e. if I implement a "blog" as a TYPO3 CMS
> Extension*and*  and as a TYPO3 Flow Package, how would I differentiate
> them both?

That's why "TYPO3\CMS\Extension" made sense to me. I could have these two 
in the same project:

TYPO3\CMS\Extension\DmitryDulepov\Community\User.php (class User) <-- TYPO3
DmitryDulepov\Community\User.php (class User) <-- non-TYPO3

Basically, we have a "TYPO3" "CMS" "Extension" made by "DmitryDulepov" with 
ext key "Community". Looks like a much better namespace for a TYPO3 CMS 
extension.

-- 
Dmitry Dulepov
TYPO3 CMS core & security teams member



More information about the TYPO3-dev mailing list