where to put CSS and JS files

Christopher Aillon caillon at returnzero.com
Tue Oct 29 22:14:27 UTC 2002


Myk Melez wrote:

> Gerv and I have been discussing where to put CSS and JS files over in 
> bug 156548.
>
> http://bugzilla.mozilla.org/show_bug.cgi?id=156548
>
> We'd like to put them in css/ and js/ subdirectories of the Bugzilla 
> root directory.
>
> If you think that's a bad place for them, please comment in this forum 
> or in the bug. 

I think it is bad to pollute the top level directory with specific names 
such as css or js when there are other potential choices.  Future 
Bugzilla versions may support VBScript, for example, and they may 
support XSLT.   _Existing_ installs may wish to customize their install 
using VBScripts if they are a MS shop wanting to re-use some already 
existing vbs code for whatever reason, or if they are using xml 
templates and wish to style their pages with XSLT.  So I think a better 
choice would be scripts/js/ and style/css/

>
>
> -myk
>
>
> ----
> To view or change your list settings, click here:
> <http://bugzilla.org/cgi-bin/mj_wwwusr?user=caillon@returnzero.com>
>
>




More information about the developers mailing list