[TYPO3-core] Common directory-names

Stefan Neufeind typo3.neufeind at speedpartner.de
Wed Jul 23 17:35:30 CEST 2014


On 02/03/2014 12:38 PM, Stefan Neufeind wrote:
> Hi,
> 
> if there is some official recommendation that I just didn't find yet,
> please excuse and kindly point me there. But having seen various
> solutions I'd like to ask: Do we have a common understanding of
> directory-names for things like JS and CSS?
> Imho that applies to both extensions but also what people might be using
> for their templating-directories etc. While everybody could just go with
> "templates/css/", from extensions I have the feeling that
> 
> Resources/Public/StyleSheets/
> 
> might be one possible (official?) way. Looking at the various solutions
> from extension-authors etc. I wonder though how the exact naming should be:
> 
> StyleSheet, StyleSheets, Stylesheet(s), ...
> And same for:
> JavaScript(s), Javascript(s), ...
> 
> I personally don't think the second uppercased letter in there makes
> much sense. But I don't mind much and would either like to stick to an
> already decided variant or suggest that we come up with a recommendation.

Hi,

short followup to this, since a link was just mentioned in a separate
thread. In the docs there (meanwhile?) is:

http://docs.typo3.org/typo3cms/CoreApiReference/ExtensionArchitecture/FilesAndLocations/#reserved-folders

And those docs say:

Resources/Public/Css
    Any CSS file used by the extension.
Resources/Public/Images
    Any images used by the extension.
Resources/Public/JavaScript
    Any JS file used by the extension.


Kind regards,
 Stefan


More information about the TYPO3-team-core mailing list