[TYPO3-dev] Abbreviations in class/file names
Alex Bigott
a.bigott at pixel-ink.de
Wed Jul 23 17:24:21 CEST 2014
hi,
writing several following letters upper case for a class name did not
work for me some days ago.
so i would better stick to the not nice strict upper camel case writing
like RetrieveFileImap.php
cheers
alex
> Bernhard Kraft <mailto:kraftb at think-open.at>
> Mittwoch, 23. Juli 2014 17:05
> Hello,
>
> The autoloader of TYPO3 6.2 automatically loads class files from a
> specific location if the classes are named correctly.
>
> For example a class like
>
> \MyVendor\MyExtension\Task\RetrieveFileImap
>
> Would get loaded from
>
> typo3conf/ext/my_extension/Classes/Task/RetrieveFileImap.php
>
> This is quite nice but in the example the abbreviation IMAP is spelled
> "Imap" which is not really nice. Usually an abbreviation (protocols,
> etc.) are all uppercase. Is this somehow handled in the autoloader or
> would I simply have to name the file "RetrieveFileImap" ??
>
> I have seen things like "core/Classes/Utility/HttpUtility.php" which
> is wrong in my eyes. HTTP should be all uppercase.
>
>
> greetings,
> Bernhard
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
--
Mit freundlichen Grüßen
Alex Bigott
pixelink_200_ohne_claim
Pixel Ink
Adi-Maislinger-Str. 7
81373 München
Fest: +49 89 4520689-12
Fax: +49 89 4520689-10
web: www.pixel-ink.de <http://www.pixel-ink.de/>
E-Mail:a.bigott at pixel-ink.de <mailto:a.bigott at pixel-ink.de>
<https://www.facebook.com/pixelink.muc>
More information about the TYPO3-dev
mailing list