[Flow] (Resources) Directory Structure per convention

Adrian Föder adrian at foeder.de
Tue Apr 22 15:44:06 CEST 2014


Hi,

already quite a time ago, I remember some efforts to establish a 
convention for a directory structure especially for resources, just like 
"Public/JavaScripts" (i.e. plural) and /Styles (also plural, not 
StyleSheets, etcpp)

Is that settled somehow? I still think we should provide such a convention.


Besides, in my own project(s) I ended up with a Web/_Resources/Built 
folder (made up by me, next to the existing /Static and /Persistent 
folders).

In this /Built folder, I put files which (per (my) convention) can 
worriless be rebuilt from foreign sources like .scss oder .js.

At the end, all of my .scss and .js files reside in my Package's 
/Private folder and are built into 
Web/_Resources/Built/[JavaScripts|Styles] on deployment.

That's just a suggestion of mine, but as said: I find that quite handy 
and once a directory convention is made, maybe this is worth being 
considered.

Best!
Adrian


More information about the Flow mailing list