Bob wrote:jscripts would only contain JS scripts, scripts could contain other types of scripts but PHP scripts are already placed in classes folder and somewhere else, so "what else?" (as would say Georges).
A very apposite
quote! Who knows, maybe sometimes there will be placed some
CoffeeScript scripts.
However, actually I don't hope so, and I guess we'll stick with
ECMAScript.
The problem with jscript/ has been
already mentioned. scripts/ might indeed be a bit broad.
Bob wrote:Personally my scripts are placed for years in a folder addons/js/ .
After some reconsideration I think js/ is best. This suits nicely with the already existing css/ folder, and other wide-spread CMSs use it, too (e.g. WordPress).
Bob wrote:However I have no rather precise idea of the future of XH.
Well, me neither. Actually, you'll never know how a system evolves, particularly if it's an open source software.