[TYPO3-mvc] Extbase @inject lowercase namespace

Aimo Kuenkel mail at aimo.cc
Mon Sep 9 18:03:00 CEST 2013


Hi Phillip,

Thanks for your explanation, didn't know this was naming convention...
since our company name is all lowercase, we chose our vendor code equally.

OT: Is this just T3 related or also globally for Composer/PHP/...?

-----Ursprüngliche Nachricht-----
Von: typo3-project-typo3v4mvc-bounces at lists.typo3.org [mailto:typo3-project-typo3v4mvc-bounces at lists.typo3.org] Im Auftrag von Philipp
Gesendet: Montag, 9. September 2013 12:49
An: typo3-project-typo3v4mvc at lists.typo3.org
Betreff: Re: [TYPO3-mvc] Extbase @inject lowercase namespace

Yes, the naming convention for a vendor is UpperCamelCase, so renaming would be the best solution. If the refactoring is not so much work. I thinkg you could also link all your classNames via TS Configuration for the extbase framework, but thats much typing for nothing if the simple refactor of your vendorname would solve the problem. In most IDEs you can simply do a regex-replace on all of your files.

VendorName, ClassName, ExtensionName = UpperCamelCase propertyName, methodName = lowerCamelCase tablename, extension_key = lower_underscore _______________________________________________
TYPO3-project-typo3v4mvc mailing list
TYPO3-project-typo3v4mvc at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc


More information about the TYPO3-project-typo3v4mvc mailing list